RUSTSEC-2022-0022

Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0022.json
Published
2022-05-10T12:00:00Z
Modified
2022-05-10T18:45:40Z
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.

References

Affected packages

crates.io / hyper

hyper

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.4.12

Affected versions

Ecosystem specific

{
    "affects": {
        "functions": [],
        "arch": [],
        "os": []
    }
}

Database specific

{
    "informational": "unsound",
    "categories": [],
    "cvss": null
}