CVE-2020-36206: 
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the rusb crate before 0.7.0 for Rust. The vulnerability stems from a lack of Send and Sync bounds in the UsbContext trait implementation, which could lead to data races and memory corruption when used across threads (Rust Advisory). The vulnerability was discovered and reported on December 18, 2020, and was officially issued on January 18, 2021.

Technical details

The vulnerability exists because the UsbContext trait did not require implementers to be Send and Sync. Through Device and DeviceHandle components, it became possible to use UsbContexts across threads. This design flaw allowed non-thread safe UsbContext types to be used concurrently. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (HIGH) with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Rust Advisory).

Impact

The vulnerability can lead to data races and memory corruption when non-thread safe UsbContext types are used concurrently. This could potentially compromise the integrity and reliability of applications using the affected versions of the rusb crate (Rust Advisory).

Exploitability

The vulnerability requires local access and high attack complexity. While user interaction is not needed for exploitation, the attacker needs low-level privileges to execute the attack. The attack vector is local, indicating that the attacker needs to have access to the system running the vulnerable code (Rust Advisory).

Mitigation and workarounds

The issue has been fixed in version 0.7.0 of the rusb crate by adding Send and Sync bounds to the UsbContext trait. Users are advised to upgrade to version 0.7.0 or later to address this vulnerability (Rust Advisory).

Additional resources


Source: This report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-6w6g-hm98-mhgmHIGH8.7
  • Rust logoRust
  • hickory-resolver
NoYesOct 05, 2026
GHSA-5j98-2g5x-46v6HIGH7.5
  • Rust logoRust
  • hickory-resolver
NoYesOct 05, 2026
GHSA-cjcg-cxmh-9wcrHIGH7.5
  • Rust logoRust
  • praxis-proxy
NoYesOct 02, 2026
GHSA-6f2x-v7q7-m7m5MEDIUM6.9
  • Rust logoRust
  • hickory-resolver
NoYesOct 05, 2026
GHSA-6g2r-675j-hx59LOW2.3
  • Rust logoRust
  • xxhash-rust
NoYesOct 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management