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-02-16T08:16:25.335921Z
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
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

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