CVE-2022-29246
Last modified
CVE-2022-29246 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Eclipse | Threadx Usbx | < 6.1.11 |
References
- https://github.com/azure-rtos/usbx/releases/tag/v6.1.11_relRelease Notes, Third Party Advisory
- https://github.com/azure-rtos/usbx/security/advisories/GHSA-hh5p-x584-j8hvThird Party Advisory
- https://github.com/azure-rtos/usbx/releases/tag/v6.1.11_relRelease Notes, Third Party Advisory
- https://github.com/azure-rtos/usbx/security/advisories/GHSA-hh5p-x584-j8hvThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-29246?
How severe is CVE-2022-29246?
How do I fix CVE-2022-29246?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-29240Scylla is a real-time big data database that is API-compatib…8.1
- CVE-2022-29241Jupyter Server provides the backend (i.e. the core services,…8.8
- CVE-2022-29242GOST engine is a reference implementation of the Russian GOS…7.5
- CVE-2022-29243Nextcloud Server is the file server software for Nextcloud, …4.3
- CVE-2022-29244npm pack ignores root-level .gitignore and .npmignore file e…7.5
- CVE-2022-29245SSH.NET is a Secure Shell (SSH) library for .NET. In version…5.9
- CVE-2022-29247Electron is a framework for writing cross-platform desktop a…9.8
- CVE-2022-29248Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 …8.1
- CVE-2022-29249JavaEZ is a library that adds new functions to make Java eas…7.5
- CVE-2022-2925Cross-site Scripting (XSS) - Stored in GitHub repository app…5.4
- CVE-2022-29250GLPI is a Free Asset and IT Management Software package, tha…6.5
- CVE-2022-29251XWiki Platform Flamingo Theme UI is a tool that allows custo…6.1
Are you affected by CVE-2022-29246?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
