RUSTSEC-2020-0098
Dashboard / Vulnerabilities / RUSTSEC-2020-0098
RUSTSEC-2020-0098
Published: 18 Dec 2020Last Modified: 8 Nov 2023
Aliases:
Summary: UsbContext trait did not require implementers to be Send and Sync.
Details: Affected versions of `rusb` did not require `UsbContext` to implement `Send` and `Sync`. However, through `Device` and `DeviceHandle` it is possible to use `UsbContext`s 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`.
References: https://crates.io/crates/rusb, https://rustsec.org/advisories/RUSTSEC-2020-0098.html, https://github.com/a1ien/rusb/issues/44
Affected packages
Package
Name: rusb
Purl: pkg:cargo/rusb
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.7.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
