RUSTSEC-2020-0137
Dashboard / Vulnerabilities / RUSTSEC-2020-0137
RUSTSEC-2020-0137
Published: 10 Nov 2020Last Modified: 8 Nov 2023
Aliases:
Summary: AtomicBox<T> lacks bound on its Send and Sync traits allowing data races
Details: `AtomicBox<T>` is a `Box` type designed to be used across threads, however, it implements the `Send` and `Sync` traits for all types `T`. This allows non-Send types such as `Rc` and non-Sync types such as `Cell` to be used across thread boundaries which can trigger undefined behavior and memory corruption.
References: https://crates.io/crates/lever, https://rustsec.org/advisories/RUSTSEC-2020-0137.html, https://github.com/vertexclique/lever/issues/15
Affected packages
Package
Name: lever
Purl: pkg:cargo/lever
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.1.1
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
