GHSA-f67m-9j94-qv9j

Suggest an improvement
Source
https://github.com/advisories/GHSA-f67m-9j94-qv9j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-f67m-9j94-qv9j/GHSA-f67m-9j94-qv9j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f67m-9j94-qv9j
Aliases
Downstream
CGA (2)
Published
2022-06-16T23:59:29Z
Modified
2026-09-10T03:49:49Z
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.

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-06-16T23:59:29Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

crates.io / hyper

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.14.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-f67m-9j94-qv9j/GHSA-f67m-9j94-qv9j.json"