{"id":"RUSTSEC-2022-0022","revision":"29e1628815c241059b4637bad84f0d27","records":[{"revision":"29e1628815c241059b4637bad84f0d27","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2022-0022","aliases":["GHSA-f67m-9j94-qv9j"],"title":"Parser creates invalid uninitialized value","description":"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.","state":0,"publishedAt":"2022-05-10T12:00:00+00:00","modifiedAt":"2023-11-08T04:18:51.009169+00:00","affected":[{"ecosystem":"crates.io","name":"hyper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.14.12"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/hyper","https://rustsec.org/advisories/RUSTSEC-2022-0022.html","https://github.com/hyperium/hyper/pull/2545"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2022-0022","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2022-0022","identifiers":["RUSTSEC-2022-0022","GHSA-f67m-9j94-qv9j"]},"retained":false,"historicalAffected":[]}],"coverage":[]}