{"id":"GHSA-c3cw-c387-pj65","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.\n\nThe flaw was corrected by wrapping elements inside queues in a ManuallyDrop.","aliases":["CVE-2018-20996","RUSTSEC-2018-0009"],"modified":"2023-11-08T04:00:13.679223Z","published":"2021-08-25T20:43:21Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-19T21:24:34Z","nvd_published_at":"2019-08-26T18:15:11Z","cwe_ids":["CWE-415"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20996"},{"type":"WEB","url":"https://github.com/crossbeam-rs/crossbeam-epoch/issues/82"},{"type":"PACKAGE","url":"https://github.com/crossbeam-rs/crossbeam-epoch"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2018-0009.html"}],"affected":[{"package":{"name":"crossbeam","ecosystem":"crates.io","purl":"pkg:cargo/crossbeam"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"0.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-c3cw-c387-pj65/GHSA-c3cw-c387-pj65.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}