{"id":"RUSTSEC-2022-0021","summary":"`SegQueue` creates zero value of any type","details":"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.","aliases":["GHSA-6888-wf7j-34jq"],"modified":"2023-11-08T04:16:08.764113Z","published":"2022-05-10T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/crossbeam-queue"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0021.html"},{"type":"WEB","url":"https://github.com/crossbeam-rs/crossbeam/pull/458"}],"affected":[{"package":{"name":"crossbeam-queue","ecosystem":"crates.io","purl":"pkg:cargo/crossbeam-queue"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.2.3"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"functions":[],"arch":[]}},"database_specific":{"informational":"unsound","cvss":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0021.json","categories":[]}}],"schema_version":"1.7.3"}