Advisory

GHSA-6g87-ff9q-v847

Also known as: CVE-2018-1000518, PYSEC-2018-79

Summary

websockets is vulnerable to denial of service by memory exhaustion

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-09-17 20:46 UTC
Modified
2024-11-19 18:23 UTC

Affected packages and fixes

websockets

PyPI · All systems

Affected

  • introduced 4.0, fixed 5.0 (ecosystem)

Fixed versions

5.0

Fix

  • Fixed version 5.0
    pip install --upgrade websockets==5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences