Live threats

All CVEs / Websockets Project

CVE-2021-33880Websockets Project Websockets

Medium 5.9 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Websockets.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
websockets_projectwebsockets< 9.1
oraclecommunications_cloud_native_core_policy1.14.0
oraclecommunications_cloud_native_core_security_edge_protection_proxy1.5.0
oraclecommunications_cloud_native_core_service_communication_proxy1.14.0
oraclecommunications_cloud_native_core_unified_data_repository1.14.0

Official sources

References

Links published by the sources. Open them with care.