VDB
Sign up
—

PYSEC-2018-79

Quick fix

PYSEC-2018-79 — websockets: upgrade to the fixed version with the command below.

pip install --upgrade 'websockets>=5.0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/websockets
Introduced in: 0Fixed in: 5.0
Fixpip install --upgrade 'websockets>=5.0'

References