PyPA Advisory Database
PYSEC-2021-95
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | websockets | All versions before 9.1 (fixed in 9.1) |