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
Published
2022-06-16T23:59:29Z
Modified
2023-11-08T04:18:51.009169Z
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
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:59:29Z"
}
References

Affected packages

crates.io / hyper

Package

Affected ranges

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