Vulnerability DatabaseRUSTSEC-2020-0098

RUSTSEC-2020-0098
Rust vulnerability analysis and mitigation

Overview

The RUSTSEC-2020-0098 vulnerability was discovered in the rusb crate before version 0.7.0 for Rust. The issue involves improper synchronization due to a lack of Send and Sync bounds, which could lead to data races and memory corruption. The vulnerability was assigned CVE-2020-36206 and was disclosed in January 2021 (NVD).

Technical details

The vulnerability stems from the Device and DeviceHandle types implementing Send and Sync traits without proper bounds on the UsbContext trait. The UsbContext trait lacked Send and Sync bounds and could be implemented by users, potentially allowing the creation of non-thread safe implementations in safe Rust code. This oversight could result in data races when used with Device or DeviceHandle. The issue was assigned a CVSS v3.1 base score of 7.0 (HIGH) with vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could lead to data races and memory corruption in applications using the rusb crate. This could potentially result in high impacts on confidentiality, integrity, and availability of affected systems (NVD).

Exploitability

The vulnerability requires local access and high attack complexity to exploit. An attacker would need low privileges but no user interaction to potentially trigger the vulnerability (NVD).

Mitigation and workarounds

The vulnerability was fixed in version 0.7.0 of the rusb crate. Users should upgrade to this version or later to address the issue. For those unable to upgrade immediately, a potential workaround would be to ensure UsbContext implementations are thread-safe (RUSTSEC Advisory).

Community reactions

The vulnerability was initially discovered by the Rust group at Georgia Tech's Systems Software & Security Lab (SSLab) during a security scan of crates.io. The issue was reported through GitHub's issue tracking system, demonstrating the effectiveness of community-driven security research in the Rust ecosystem (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-m3wp-48jr-vr4gHIGH7.5
  • Rust logoRust
  • mistralrs-server-core
NoYesSep 10, 2026
GHSA-wfgq-w7cq-qj7jHIGH7.2
  • Rust logoRust
  • mistralrs-server-core
NoYesSep 10, 2026
CVE-2026-45056MEDIUM6.9
  • Rust logoRust
  • matrix-sdk-crypto
NoYesSep 11, 2026
CVE-2026-53956MEDIUM5.4
  • Python logoPython
  • rattler_cache
NoYesSep 09, 2026
CVE-2026-45057MEDIUM4.9
  • Rust logoRust
  • matrix-sdk-ui
NoYesSep 11, 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