{"id":"GHSA-6888-wf7j-34jq","aliases":["GHSA-6888-wf7j-34jq","RUSTSEC-2022-0021"],"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:16:08.764Z","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.2.3"}],"ecosystem":"crates.io","package":"crossbeam-queue","purl":"pkg:cargo/crossbeam-queue","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.2.3"}],"ecosystem":"crates.io","package":"crossbeam-queue","purl":"pkg:cargo/crossbeam-queue","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-0021.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/crossbeam-queue","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6888-wf7j-34jq","url":"https://github.com/advisories/GHSA-6888-wf7j-34jq","licence":"CC-BY-4.0","modified":"2023-11-08T04:16:08.764Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0021","url":"https://rustsec.org/advisories/RUSTSEC-2022-0021.html","licence":"CC0-1.0","modified":"2023-11-08T04:16:08.764Z"}],"updatedAt":"2026-11-25T22:56:43.096Z"}