Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWMzY3ctYzM4Ny1wajY1
Double free in crossbeam
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.
Permalink: https://github.com/advisories/GHSA-c3cw-c387-pj65JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWMzY3ctYzM4Ny1wajY1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 3 years ago
Updated: about 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Percentage: 0.00222
EPSS Percentile: 0.6057
Identifiers: GHSA-c3cw-c387-pj65, CVE-2018-20996
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-20996
- https://github.com/crossbeam-rs/crossbeam-epoch/issues/82
- https://rustsec.org/advisories/RUSTSEC-2018-0009.html
- https://github.com/advisories/GHSA-c3cw-c387-pj65
Blast Radius: 38.2
Affected Packages
cargo:crossbeam
Dependent packages: 1,001Dependent repositories: 7,971
Downloads: 44,447,422 total
Affected Version Ranges: >= 0.4.0, < 0.4.1
Fixed in: 0.4.1
All affected versions: 0.4.0
All unaffected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.3.0, 0.3.1, 0.3.2, 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4