Skip to content
Info disclosure Advisory Intermediate CVE-2021-42301

Azure RTOS Information Disclosure Vulnerability (CVE-2021-42301)

A vulnerability in Azure RTOS USBX allows an attacker to disclose information by plugging in a malicious USB device. The user must interact by plugging in the device, and the update requires recompiling with updated source code and adding memory boundary checks if vendor requests are used.

Szymon Heidrich Follow

Originally disclosed on Microsoft

High 3.3 View original

FAQ

What is RTOS? Azure RTOS is an embedded development suite including a small but powerful operating system that provides reliable, ultra-fast performance for resource-constrained devices. See Azure RTOS Overview for more information. What version of Azure RTOS has the update that protects from this vulnerability? Version 6.1.9 According to the CVSS, User Interaction is Required. What interaction would the user have to do? Exploitation of this vulnerability requires that a user plug in a malicious USB device.

FAQ

What is the action required to take the update? You need to recompile your project with updated USBX source code. In addition, if your USB device driver uses vendor request (registered by ux_device_stack_microsoft_extension_register) you need to update your code to perform memory boundary check. If you are not using vendor requests, (i.e. you don’t register the callback function) you don’t need to update your code.

Azure Real Time Operating System

Azure Real Time Operating System

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Szymon Heidrich. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing memory boundary check in the USBX vendor request handling code.

What the attacker needed

User plugs in a malicious USB device

The fix

The vulnerability was fixed in version 6.1.9; users should recompile with updated USBX source code and add memory boundary checks if using vendor requests.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a security flaw in a small operating system used in embedded devices. An attacker can plug in a malicious USB device to potentially read sensitive information from the device. The fix involves updating the software and adding checks to prevent reading beyond allowed memory.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Szymon Heidrich

View all

4 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.