GHSA-6g87-ff9q-v847

Suggest an improvement
Source
https://github.com/advisories/GHSA-6g87-ff9q-v847
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-6g87-ff9q-v847/GHSA-6g87-ff9q-v847.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6g87-ff9q-v847
Aliases
Published
2018-09-17T20:46:52Z
Modified
2024-11-19T18:23:42.891487Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
websockets is vulnerable to denial of service by memory exhaustion
Details

The Python websockets library version 4 contains a CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Servers and clients, unless configured with compression=None that can result in Denial of Service by memory exhaustion. This attack appears to be exploitable via sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in version 5.0

Database specific
{
    "nvd_published_at": "2018-06-26T16:29:00Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:19:15Z"
}
References

Affected packages

PyPI / websockets

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0
Fixed
5.0

Affected versions

4.*

4.0
4.0.1