Vulnerability · Published Jun 6, 2021 · Assigned by mitre

CVE-2021-33880

Medium 5.9

In plain English

A medium-severity security flaw in the python-websockets package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)2.3%top 16.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-websockets9.1-1DEBIAN-CVE-2021-33880
Debian:13python-websockets9.1-1DEBIAN-CVE-2021-33880
Debian:14python-websockets9.1-1DEBIAN-CVE-2021-33880
PyPIwebsockets9.1GHSA-8ch4-58qp-g3mp
PyPIwebsockets9.1PYSEC-2021-95
Ubuntu:22.04:LTSpython-websocketsno fix listedUBUNTU-CVE-2021-33880
Ubuntu:24.04:LTSpython-websocketsno fix listedUBUNTU-CVE-2021-33880
Ubuntu:25.10python-websocketsno fix listedUBUNTU-CVE-2021-33880
Ubuntu:26.04:LTSpython-websocketsno fix listedUBUNTU-CVE-2021-33880
Ubuntu:26.10python-websocketsno fix listedUBUNTU-CVE-2021-33880

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References