CVE-2021-33880 Observable Timing Discrepancy in aaugustin websockets library
An attacker can guess passwords via timing attacks when HTTP Basic Authentication is enabled in the Python websockets library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-33880?
CVE-2021-33880 is a medium-severity vulnerability in Oracle Communications Cloud Native Core Policy, published on 6 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-203
Which versions are affected by CVE-2021-33880?
3 open source packages ship an affected version, including websockets. It affects 5 products.
| Package | Affected | Fixed in |
|---|---|---|
websockets PyPI | All versions | 9.1 |
websockets PyPI | All versions | 9.1 |
websockets PyPI | All versions | 9.1 |
Products include Oracle Communications Cloud Native Core Policy, Oracle Communications Cloud Native Core Security Edge Protection Proxy, Oracle Communications Cloud Native Core Service Communication Proxy, Oracle Communications Cloud Native Core Unified Data Repository, Websockets Project Websockets.
How do I fix CVE-2021-33880?
Upgrade websockets to 9.1 or later.
Is CVE-2021-33880 being exploited?
There is no known exploitation of CVE-2021-33880 in the wild and no public exploit code.
Other vulnerabilities in Oracle Communications Cloud Native Core Policy
- CVE-2021-35574 Denial of service in Outside In Technology
- CVE-2021-22119 Resource Exhaustion in Spring Security
- CVE-2021-23440 Prototype Pollution
- CVE-2019-3799 Directory Traversal with spring-cloud-config-server
All Oracle Communications Cloud Native Core Policy vulnerabilities
Sources
Also known as CLSA-2025-1764115973, DEBIAN-CVE-2021-33880, GHSA-8ch4-58qp-g3mp, PYSEC-2021-95, UBUNTU-CVE-2021-33880.