Vulnerability GHSA-f67m-9j94-qv9j

High Risk
HIGH RISK
CVSS Score: 8.0
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
4 years ago
June 16, 2022 at 11:59 PM UTC
Parser creates invalid uninitialized value
0.0.1 - 0.12.36 and 0.13.0 - 0.14.11
0.0.1 - 0.12.36 and 0.13.0 - 0.14.11

Summary

Parser creates invalid uninitialized value

Details

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.

Impacted packages

Timeline

Published
4 years ago
June 16, 2022 at 11:59 PM UTC
Fixed (0.14.12)
5 years ago
August 24, 2021 at 11:25 PM UTC
Last Modified
1 month ago
September 10, 2026 at 03:49 AM UTC