RUSTSEC-2018-0009

Source
https://rustsec.org/advisories/RUSTSEC-2018-0009
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2018-0009.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2018-0009
Aliases
Published
2018-12-09T12:00:00Z
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
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 for reporting the issue.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / crossbeam

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.4.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "informational": null,
    "categories": []
}