CVE-2018-1000518
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
websockets (PyPI)from 4.0 before 5.0, before 5.0GitHub Advisory Database, PyPA Advisory Database
websockets_project websockets4.0NVD

All scores

GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2018-1000518 changed 2024-08-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-6g87-ff9q-v847 changed 2024-11-19CC-BY-4.0
NVDCVE-2018-1000518 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2018-79 changed 2023-11-08CC-BY-4.0