Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. websockets
  4. ›
  5. CVE-2018-1000518

CVE-2018-1000518: websockets is vulnerable to denial of service by memory exhaustion

September 17, 2018 (updated November 19, 2024)

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

  • github.com/aaugustin/websockets
  • github.com/aaugustin/websockets/pull/407
  • github.com/advisories/GHSA-6g87-ff9q-v847
  • github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2018-79.yaml
  • nvd.nist.gov/vuln/detail/CVE-2018-1000518

Code Behaviors & Features

Detect and mitigate CVE-2018-1000518 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0 before 5.0

Fixed versions

  • 5.0

Solution

Upgrade to version 5.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/websockets/CVE-2018-1000518.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.