RUSTSEC-2022-0066

Source
https://rustsec.org/advisories/RUSTSEC-2022-0066
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0066.json
Aliases
Published
2022-10-30T12:00:00Z
Modified
2023-11-08T04:10:17.959579Z
Details

Prior to version 0.4.2, conduit-hyper did not check any limit on a request's length before calling hyper::body::to_bytes. An attacker could send a malicious request with an abnormally large Content-Length, which could lead to a panic if memory allocation failed for that request.

In version 0.4.2, conduit-hyper sets an internal limit of 128 MiB per request, otherwise returning status 400 ("Bad Request").

References

Affected packages

crates.io / conduit-hyper

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.2.0-alpha.3
Fixed
0.4.2

Ecosystem specific

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

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}