python-websockets/websockets

python-websockets/websockets

Releases49
Frequency3 months 5 days
Last Release
Stars5.7K
Library for building WebSocket servers and clients in Python

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
< 9.15.9 MEDIUM2.6 LOW

The aaugustin websockets library before 9.1 for Python has an Observable Timing Discrepancy on servers when HTTP Basic Authentication is enabled with basic_auth_protocol_factory(credentials=...). An attacker may be able to guess a password via a timing attack.

= 4.0, >= 4.0, < 5.0, < 5.07.5 HIGH5 MEDIUM

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.