{"id":"RUSTSEC-2022-0022","summary":"Parser creates invalid uninitialized value","details":"Affected versions of this crate called `mem::uninitialized()` in the HTTP1 parser to create values of type `httparse::Header` (from the `httparse` crate).\nThis is unsound, since `Header` contains references and thus must be non-null.\n \nThe flaw was corrected by avoiding the use of `mem::uninitialized()`, using `MaybeUninit` instead.","aliases":["GHSA-f67m-9j94-qv9j"],"modified":"2023-11-08T04:18:51.009169Z","published":"2022-05-10T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/hyper"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0022.html"},{"type":"WEB","url":"https://github.com/hyperium/hyper/pull/2545"}],"affected":[{"package":{"name":"hyper","ecosystem":"crates.io","purl":"pkg:cargo/hyper"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.14.12"}]}],"ecosystem_specific":{"affects":{"os":[],"functions":[],"arch":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0022.json","informational":"unsound","cvss":null,"categories":[]}}],"schema_version":"1.7.3"}