Live threats

All CVEs / Websockets Project

CVE-2018-1000518Websockets Project Websockets

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jun 26, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Websockets.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI websockets ≥ 4.0 < 5.0 5.0 pip install "websockets>=5.0"
PyPI websockets < 5.0 5.0 pip install "websockets>=5.0"

Per OSV / GitHub Advisories (GHSA-6g87-ff9q-v847, PYSEC-2018-79). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
websockets_projectwebsockets4.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.