RUSTSEC-2020-0150
Dashboard / Vulnerabilities / RUSTSEC-2020-0150
RUSTSEC-2020-0150
Published: 17 Dec 2020Last Modified: 8 Nov 2023
Aliases:
Summary: RingBuffer can create multiple mutable references and cause data races
Details: The `RingBuffer` type retrieves mutable references from the `DataProvider` in a non-atomic manner, potentially allowing the creation of multiple mutable references. `RingBuffer` also implements the `Send` and `Sync` traits for all types `T`. This allows undefined behavior from the aliased mutable references as well as data races.
References: https://crates.io/crates/disrustor, https://rustsec.org/advisories/RUSTSEC-2020-0150.html, https://github.com/sklose/disrustor/issues/1
Affected packages
Package
Name: disrustor
Purl: pkg:cargo/disrustor
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.3.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
