{"id":"GHSA-6888-wf7j-34jq","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.\n","aliases":["RUSTSEC-2022-0021"],"modified":"2023-11-08T04:16:08.764113Z","published":"2022-06-16T23:50:05Z","database_specific":{"cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-06-16T23:50:05Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/crossbeam-rs/crossbeam/pull/458"},{"type":"PACKAGE","url":"https://github.com/crossbeam-rs/crossbeam"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0021.html"}],"affected":[{"package":{"name":"crossbeam-queue","ecosystem":"crates.io","purl":"pkg:cargo/crossbeam-queue"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-6888-wf7j-34jq/GHSA-6888-wf7j-34jq.json"}}],"schema_version":"1.9.0"}