GHSA-9mcr-873m-xcxp

Suggest an improvement
Source
https://github.com/advisories/GHSA-9mcr-873m-xcxp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-9mcr-873m-xcxp/GHSA-9mcr-873m-xcxp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9mcr-873m-xcxp
Aliases
Related
Published
2023-09-21T06:30:25Z
Modified
2024-02-16T22:38:02Z
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
{
    "nvd_published_at": "2023-09-21T06:15:13Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-21T17:18:59Z"
}
References

Affected packages

crates.io / tungstenite

Package

Affected ranges

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

Database specific

{
    "last_known_affected_version_range": "<= 0.20.0"
}