CVE-2022-29223: azure-rtos usbx Classic Buffer Overflow
Vulnerability summary
CVE-2022-29223 is a critical (CVSS 9.8) Classic Buffer Overflow vulnerability in azure-rtos usbx. EPSS estimates a 1.23% chance of exploitation in the next 30 days, higher than 68.5% of scored vulnerabilities.
Timeline
- 24-05-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack. In versions prior to 6.1.10, an attacker can cause a buffer overflow by providing the Azure RTOS USBX host stack a HUB descriptor with `bNbPorts` set to a value greater than `UX_MAX_TT` which defaults to 8. For a `bNbPorts` value of 255, the implementation of `ux_host_class_hub_descriptor_get` function will modify the contents of `hub` -> `ux_host_class_hub_device` -> `ux_device_hub_tt` array violating the end boundary by 255 - `UX_MAX_TT` items. The USB host stack needs to validate the number of ports reported by the hub, and if the value is larger than UX_MAX_TT, USB stack needs to reject the request. This fix has been included in USBX release 6.1.10.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
1.23%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
+0.05 pp
From 1.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Azure-rtos1 product
- usbx< 6.1.10
Eclipse1 product
- threadx_usbx< 6.1.10
2 vendors · 2 products
References
2 links- github.com/azure-rtos/usbx/security/advisories/GHSA-2qc5-385m-x862X Refsource CONFIRMRelease NotesThird Party Advisory
- github.com/azure-rtos/usbx/releases/tag/v6.1.10_relX Refsource MISCRelease NotesThird Party Advisory