{"id":"CVE-2022-39344","published":"2022-11-04T00:00:00Z","modified":"2025-04-22T16:08:10Z","title":"Azure RTOS USBX vulnerable to buffer overflow","vendor":"azure-rtos","product":"usbx","tier":"tail","description":{"text":"Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Azure RTOS ThreadX. Prior to version 6.1.12, the USB 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 prevents buffer overflow during handling of DFU UPLOAD command when current state is `UX_SYSTEM_DFU_STATE_DFU_IDLE`. This issue has been patched, please upgrade to version 6.1.12. As a workaround, add the `UPLOAD_LENGTH` check in all possible states.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02727,"percentile":0.86423,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/azure-rtos/usbx/security/advisories/GHSA-m9p8-xrp7-vvqp","tags":[]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":17.28},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"azure-rtos","affectedVersions":[{"vendor":"azure-rtos","product":"usbx","versions":["< 6.1.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-22T15:36:30.335091Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-41817","exploited":false,"provenance":"source"}}