Every CVE Search/ Get API key

CVE-2021-33880

Observable Timing Discrepancy in aaugustin websockets library

5.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

2.27%Up 1.8 points since Jun 8, 2021
90%50%10%1%

What each source reports

NVD Score used 5.9

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.

Record
CVE-2021-33880
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
2.6 LowAV:N/AC:H/Au:N/C:P/I:N/A:N
Weakness
CWE-203
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-33880
Updated
2026-11-02
EUVDEUVD-2021-0467 No score

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.

Record
EUVD-2021-0467
Updated
2026-11-03
GitHub AdvisoriesGHSA-8ch4-58qp-g3mp 8.2

Observable Timing Discrepancy in aaugustin websockets library

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.

Record
GHSA-8ch4-58qp-g3mp
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-203, CWE-208
Updated
2026-11-02
OSV 5.9

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.

Record
CVE-2021-33880
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-33880 5.9

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.

Record
DEBIAN-CVE-2021-33880
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-8ch4-58qp-g3mp 8.2

Observable Timing Discrepancy in aaugustin websockets library

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.

Record
GHSA-8ch4-58qp-g3mp
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-203, CWE-208
Updated
2026-11-02
OSVUBUNTU-CVE-2021-33880 5.9

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.

Record
UBUNTU-CVE-2021-33880
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVCLSA-2025-1764115973 No score

TuxCare security update for websockets (1 CVE)

TuxCare rebuilt websockets to address 1 CVE. Fixed in 8.1.post1+tuxcare.

Record
CLSA-2025-1764115973
Updated
2026-11-02
OSVPYSEC-2021-95 No score

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.

Record
PYSEC-2021-95
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
websockets
PyPI
before 9.1
9.1
websockets
TuxCare:PyPI
8.1 up to 8.1.post1+tuxcare
8.1.post1+tuxcare
python-websockets
Debian:12
before 9.1-1
9.1-1
python-websockets
Debian:13
before 9.1-1
9.1-1
python-websockets
Debian:14
before 9.1-1
9.1-1
websockets
PyPI
before 9.1, plus listed versions
0.11.02.02.12.2
Show 23 moreShow less
2.32.42.52.62.73.03.13.23.33.44.04.0.15.05.0.16.07.08.08.0.18.0.28.19.09.0.19.0.2
9.1
python-websockets
Ubuntu:16.04:LTS
All versions, plus listed versions
2.6-13.0-1
None known
python-websockets
Ubuntu:18.04:LTS
All versions, plus listed versions
3.3-13.4-1
None known
python-websockets
Ubuntu:20.04:LTS
All versions, plus listed versions
7.0-18.1-1
None known
python-websockets
Ubuntu:22.04:LTS
All versions, plus listed versions
8.1-19.1-1
None known
Show 4 moreShow less
Affected packages
PackageAffectedFixed
python-websockets
Ubuntu:24.04:LTS
All versions, plus listed versions
10.4-1
None known
python-websockets
Ubuntu:25.10
All versions, plus listed versions
14.1-1build115.0.1-1
None known
python-websockets
Ubuntu:26.10
All versions, plus listed versions
15.0.1-1build216.0-1
None known
python-websockets
Ubuntu:26.04:LTS
All versions, plus listed versions
15.0.1-115.0.1-1build115.0.1-1build2
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-33880 is a medium vulnerability (CVSS 5.9) in Websockets Project Websockets, published June 6, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.27%, the 83rd percentile. Fixed in websockets 9.1.

References

Show 4 moreShow less
MoveEnter Open