High, CVSS 7.0crates.ioPublished
Data races in rusb
CVE-2020-36206 · GHSA-9mxw-4856-9cm5
- Affected
- crates.io rusb < 0.7.0
- Fixed in
- 0.7.0· Vendor fix available
- Issue
- Affected versions of rusb did not require UsbContext to implement Send and Sync. However, through Device and DeviceHandle it is possible to use UsbContexts across threads. This issue allows non-thread safe UsbContext types to be used concurrently leading to data races and memory corruption. The issue was fixed by adding Send and Sync bounds to UsbContext.
Recommended action: Upgrade to 0.7.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.