{"id":"GHSA-f67m-9j94-qv9j","aliases":["GHSA-f67m-9j94-qv9j","RUSTSEC-2022-0022"],"related":[],"kind":"vulnerability","state":"published","title":"Parser creates invalid uninitialized value","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2022-05-10T12:00:00.000Z","modified":"2026-09-10T03:49:49.376Z","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.14.12"}],"ecosystem":"crates.io","package":"hyper","purl":"pkg:cargo/hyper","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.14.12"}],"ecosystem":"crates.io","package":"hyper","purl":"pkg:cargo/hyper","source":"rustsec"}],"references":[{"url":"https://github.com/hyperium/hyper/pull/2545","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/hyperium/hyper","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0022.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/hyper","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f67m-9j94-qv9j","url":"https://github.com/advisories/GHSA-f67m-9j94-qv9j","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:49.376Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0022","url":"https://rustsec.org/advisories/RUSTSEC-2022-0022.html","licence":"CC0-1.0","modified":"2023-11-08T04:18:51.009Z"}],"updatedAt":"2026-11-25T22:56:43.097Z"}