Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTZnODctZmY5cS12ODQ3

websockets is vulnerable to denial of service by memory exhaustion

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

Permalink: https://github.com/advisories/GHSA-6g87-ff9q-v847
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTZnODctZmY5cS12ODQ3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 5 years ago
Updated: 8 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-6g87-ff9q-v847, CVE-2018-1000518
References: Repository: https://github.com/aaugustin/websockets
Blast Radius: 33.6

Affected Packages

pypi:websockets
Dependent packages: 878
Dependent repositories: 29,748
Downloads: 26,619,008 last month
Affected Version Ranges: >= 4.0, < 5.0
Fixed in: 5.0
All affected versions: 4.0.1
All unaffected versions: 5.0.1, 8.0.1, 8.0.2, 9.0.1, 9.0.2, 11.0.1, 11.0.2, 11.0.3