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