RUSTSEC-2023-0065

Source
https://rustsec.org/advisories/RUSTSEC-2023-0065
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0065.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0065
Aliases
Published
2023-09-25T12:00:00Z
Modified
2023-11-08T04:13:32.776663Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Tungstenite allows remote attackers to cause a denial of service
Details

The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause a denial of service (minutes of CPU consumption) via an excessive length of an HTTP header in a client handshake. The length affects both how many times a parse is attempted (e.g., thousands of times) and the average amount of data for each parse attempt (e.g., millions of bytes).

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / tungstenite

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.20.1

Ecosystem specific

{
    "affected_functions": null,
    "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"
    ]
}