Potential buffer overflow in function DFU upload in Azure RTOS USBX
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack. Prior to version 6.1.11, he USBX DFU UPLOAD functionality may be utilized to introduce a buffer overflow resulting in overwrite of memory contents. In particular cases this may allow an attacker to bypass security features or execute arbitrary code. The implementation of `ux_device_class_dfu_control_request` function does not assure that a buffer overflow will not occur during handling of the DFU UPLOAD command. When an attacker issues the `UX_SLAVE_CLASS_DFU_COMMAND_UPLOAD` control transfer request with `wLenght` larger than the buffer size (`UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH`, 256 bytes), depending on the actual implementation of `dfu -> ux_slave_class_dfu_read`, a buffer overflow may occur. In example `ux_slave_class_dfu_read` may read 4096 bytes (or more up to 65k) to a 256 byte buffer ultimately resulting in an overflow. Furthermore in case an attacker has some control over the read flash memory, this may result in execution of arbitrary code and platform compromise. A fix for this issue has been included in USBX release 6.1.11. As a workaround, align request and buffer size to assure that buffer boundaries are respected.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| azure-rtos | usbx | before 6.1.11 | 6.1.11 | Patch available | CNA |
- usbx Vendorazure-rtos Affected before 6.1.11 Fixed in 6.1.11 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:eclipse:threadx_usbx:*:*:*:*:*:*:*:* | before 6.1.11 | Vulnerable | Eclipse Foundation |
- cpe:2.3:a:eclipse:threadx_usbx:*:*:*:*:*:*:*:* Versions before 6.1.11 Vulnerable ·Eclipse Foundation
Remediation
- Fix · CNA usbx (azure-rtos) Fixed in 6.1.11
Timeline
- 2026-10-02 Threatist record created from CVE-2022-29246
References
More Eclipse Foundation Threadx Usbx vulnerabilities
- TI-2022-16486 USBX Host CDC ECM integer underflow with buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2022-11766 Buffer overflow on HUB descriptor in Azure RTOS USBX CVSS 3.1CRITICAL 9.8
- TI-2022-18669 Azure RTOS USBX Host PIMA vulnerable to read integer underflow with buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2023-26533 Azure RTOS USBX Remote Code Execution Vulnerability CVSS 3.1CRITICAL 9.8
- TI-2023-26537 Azure RTOS USBX Remote Code Execution Vulnerability CVSS 3.1CRITICAL 9.8
- TI-2023-26536 Azure RTOS USBX Remote Code Execution Vulnerability CVSS 3.1CRITICAL 9.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences