{"id":"GHSA-8gj8-hv75-gp94","aliases":["GHSA-8gj8-hv75-gp94","RUSTSEC-2022-0020"],"related":[],"kind":"vulnerability","state":"published","title":"`SegQueue` creates zero value of any type","summary":"Affected versions of this crate called `mem::zeroed()` to create values of a user-supplied type `T`.\nThis is unsound e.g. if `T` is a reference type (which must be non-null).\n \nThe flaw was corrected by avoiding the use of `mem::zeroed()`, using `MaybeUninit` instead.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Affected versions of this crate called `mem::zeroed()` to create values of a user-supplied type `T`.\nThis is unsound e.g. if `T` is a reference type (which must be non-null).\n \nThe flaw was corrected by avoiding the use of `mem::zeroed()`, using `MaybeUninit` instead.","format":"markdown","source":"ghsa"}],"published":"2022-05-10T12:00:00.000Z","modified":"2023-11-08T04:17:21.695Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"crates.io","package":"crossbeam","purl":"pkg:cargo/crossbeam","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.7.0"}],"ecosystem":"crates.io","package":"crossbeam","purl":"pkg:cargo/crossbeam","source":"rustsec"}],"references":[{"url":"https://github.com/crossbeam-rs/crossbeam/pull/458","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/crossbeam-rs/crossbeam","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0020.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/crossbeam","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8gj8-hv75-gp94","url":"https://github.com/advisories/GHSA-8gj8-hv75-gp94","licence":"CC-BY-4.0","modified":"2023-11-08T04:17:21.695Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0020","url":"https://rustsec.org/advisories/RUSTSEC-2022-0020.html","licence":"CC0-1.0","modified":"2023-11-08T04:17:21.695Z"}],"updatedAt":"2026-11-25T22:56:43.096Z"}