7.5high
websockets is vulnerable to denial of service by memory exhaustion
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.73% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6g87-ff9q-v847PYSEC-2018-79
Description
aaugustin websockets 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 appear to be exploitable via Sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in 5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| websockets (PyPI) | from 4.0 before 5.0, before 5.0 | GitHub Advisory Database, PyPA Advisory Database |
| websockets_project websockets | 4.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
aaugustin websockets 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 appear to be exploitable via Sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in 5.
GitHub Advisory Database
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
NVD (es)
aaugustin websockets 4 contiene una vulnerabilidad CWE-409: gestión incorrecta de datos altamente comprimidos (amplificación de datos) en los servidores y los clientes, a no ser que se configure con compression=None, lo que puede resultar en una denegación de servicio (DoS) por agotamiento de memoria. Este ataque parece ser explotable mediante el envío de una trama especialmente manipulada en una conexión establecida. La vulnerabilidad parece haber sido solucionada en la versión 5.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2018-1000518 changed 2024-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6g87-ff9q-v847 changed 2024-11-19 | CC-BY-4.0 |
| NVD | CVE-2018-1000518 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2018-79 changed 2023-11-08 | CC-BY-4.0 |