# GHSA-f67m-9j94-qv9j: Parser creates invalid uninitialized value

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-05-10T12:00:00.000Z
- Modified: 2026-09-10T03:49:49.376Z
- Also known as: RUSTSEC-2022-0022

## 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.

(As written by GitHub Advisory Database.)

## Affected

- hyper (crates.io): before 0.14.12; from 0.0.0-0 before 0.14.12

## References

- <https://github.com/hyperium/hyper/pull/2545> (web)
- <https://github.com/hyperium/hyper> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0022.html> (advisory, web)
- <https://crates.io/crates/hyper> (package)

## Sources

- GitHub Advisory Database: [GHSA-f67m-9j94-qv9j](https://github.com/advisories/GHSA-f67m-9j94-qv9j), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2022-0022](https://rustsec.org/advisories/RUSTSEC-2022-0022.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-f67m-9j94-qv9j · Whole record: https://cve.day/GHSA-f67m-9j94-qv9j.json · Rebuilt by cve.day 2026-11-25T22:56:43.097Z
