CVE-2022-39344

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductMicrosoft Azure Rtos Usbx
PublishedNov 4, 2022
First seenNov 4, 2022
Weakness typeCWE-120CWE-120

How to fix

Update
  • microsoft azure_rtos_usbx6.1.12 or later

Affected products

ProductAffected versionsFixed in
microsoft azure_rtos_usbxv < 6.1.126.1.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.