RUSTSEC-2020-0101
Dashboard / Vulnerabilities / RUSTSEC-2020-0101
RUSTSEC-2020-0101
Published: 22 Dec 2020Last Modified: 8 Nov 2023
Aliases:
Summary: conquer-once's OnceCell lacks Send bound for its Sync trait.
Details: Affected versions of `conquer-once` implements `Sync` for its `OnceCell` type without restricting it to `Send`able types. This allows non-`Send` but `Sync` types such as `MutexGuard` to be sent across threads leading to undefined behavior and memory corruption in concurrent programs. The issue was fixed by adding a `Send` constraint to `OnceCell`.
References: https://crates.io/crates/conquer-once, https://rustsec.org/advisories/RUSTSEC-2020-0101.html, https://github.com/oliver-giersch/conquer-once/issues/3
Affected packages
Package
Name: conquer-once
Purl: pkg:cargo/conquer-once
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.3.2
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
