GHSA-f67m-9j94-qv9j
HIGHParser creates invalid uninitialized value
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.
- Published
- 10 May 2022
- Last modified
- 10 Sep 2026
- Also known as
- RUSTSEC-2022-0022
- Sources
- OSVJSONOSV RUSTSEC-2022-0022JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | hyper | < 0.14.12 | 0.14.12 |
| OSV | crates.io | hyper | >= 0.0.0-0, < 0.14.12 | 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 · WEB, ADVISORY
- https://crates.io/crates/hyper · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)