—
PYSEC-2021-95
Quick fix
PYSEC-2021-95 — websockets: upgrade to the fixed version with the command below.
pip install --upgrade 'websockets>=547a26b685d08cac0aa64e5e65f7867ac0ea9bc0'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/websockets
Introduced in:
0Fixed in: 547a26b685d08cac0aa64e5e65f7867ac0ea9bc0Fix
pip install --upgrade 'websockets>=547a26b685d08cac0aa64e5e65f7867ac0ea9bc0'