{"id":"RUSTSEC-2022-0020","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-8gj8-hv75-gp94"],"modified":"2023-11-08T04:17:21.695455Z","published":"2022-05-10T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/crossbeam"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0020.html"},{"type":"WEB","url":"https://github.com/crossbeam-rs/crossbeam/pull/458"}],"affected":[{"package":{"name":"crossbeam","ecosystem":"crates.io","purl":"pkg:cargo/crossbeam"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.7.0"}]}],"ecosystem_specific":{"affects":{"functions":[],"os":[],"arch":[]},"affected_functions":null},"database_specific":{"categories":[],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0020.json"}}],"schema_version":"1.7.3"}