What’s Vulnerable › Vulnerabilities
GHSA-f67m-9j94-qv9j: Parser creates invalid uninitialized value
- Severity: high (CVSS 7.5)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2022-06-16 · updated 2026-09-10
Description
Affected versions of this crate called `mem::uninitialized()` in the HTTP1 parser to create values of type `httparse::Header` (from the `httparse` crate). This is unsound, since `Header` contains references and thus must be non-null. The flaw was corrected by avoiding the use of `mem::uninitialized()`, using `MaybeUninit` instead.
Affected products
- Crates.Io Hyper: before 0.14.12 — fixed in 0.14.12
How to fix
Upgrade to a fixed version: Crates.Io Hyper 0.14.12. Check the vendor advisory for mitigations.
References
- https://github.com/hyperium/hyper/pull/2545
- https://github.com/hyperium/hyper
- https://rustsec.org/advisories/RUSTSEC-2022-0022.html
Get alerted when GHSA-f67m-9j94-qv9j or the next vulnerability affects your stack