CVE-2021-33880Websockets Project Websockets
Medium 5.9 No auth needed
Follow: this CVE · Websockets Project · Websockets Project Websockets We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Jun 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-203
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Websockets.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | websockets |
< 9.1 |
9.1 |
pip install "websockets>=9.1" |
| PyPI | websockets |
< 9.1 |
9.1 |
pip install "websockets>=9.1" |
Per OSV / GitHub Advisories (GHSA-8ch4-58qp-g3mp, PYSEC-2021-95). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| websockets_project | websockets | < 9.1 |
| oracle | communications_cloud_native_core_policy | 1.14.0 |
| oracle | communications_cloud_native_core_security_edge_protection_proxy | 1.5.0 |
| oracle | communications_cloud_native_core_service_communication_proxy | 1.14.0 |
| oracle | communications_cloud_native_core_unified_data_repository | 1.14.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory