RUSTSEC-2018-0009
Dashboard / Vulnerabilities / RUSTSEC-2018-0009
RUSTSEC-2018-0009
Published: 9 Dec 2018Last Modified: 17 Jul 2026
Aliases:
Summary: MsQueue and SegQueue suffer from double-free
Details: Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees. The flaw was corrected by wrapping elements inside queues in a `ManuallyDrop`. Thanks to [@c0gent](https://github.com/c0gent) for reporting the issue.
References: https://crates.io/crates/crossbeam, https://rustsec.org/advisories/RUSTSEC-2018-0009.html, https://github.com/crossbeam-rs/crossbeam-epoch/issues/82
Affected packages
Package
Name: crossbeam
Purl: pkg:cargo/crossbeam
Affected ranges
Type: SEMVER
Events:
Introduced- 0.4.0
Fixed -0.4.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
