GHSA-c3cw-c387-pj65

Suggest an improvement
Source
https://github.com/advisories/GHSA-c3cw-c387-pj65
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-c3cw-c387-pj65/GHSA-c3cw-c387-pj65.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c3cw-c387-pj65
Aliases
Published
2021-08-25T20:43:21Z
Modified
2023-11-08T04:00:13.679223Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Double free in crossbeam
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.

Database specific
{
    "nvd_published_at": "2019-08-26T18:15:11Z",
    "cwe_ids": [
        "CWE-415"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:24:34Z"
}
References

Affected packages

crates.io / crossbeam

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.4.1