{"id":"GHSA-9g55-pg62-m8hh","aliases":["GHSA-9g55-pg62-m8hh","RUSTSEC-2022-0019"],"related":[],"kind":"vulnerability","state":"published","title":"Channel 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:17:54.817Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.3"}],"ecosystem":"crates.io","package":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.3"}],"ecosystem":"crates.io","package":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","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-0019.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/crossbeam-channel","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9g55-pg62-m8hh","url":"https://github.com/advisories/GHSA-9g55-pg62-m8hh","licence":"CC-BY-4.0","modified":"2023-11-08T04:17:54.817Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0019","url":"https://rustsec.org/advisories/RUSTSEC-2022-0019.html","licence":"CC0-1.0","modified":"2023-11-08T04:17:54.817Z"}],"updatedAt":"2026-11-25T22:56:43.096Z"}