python-websockets/websockets

python-websockets/websockets

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

CVE History

CVEPublishedCVSS v3CVSS v2
5.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.

7.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.