CVE-2021-33880
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 9.1-1 | |
| debian | bookworm | fixed | 9.1-1 |
| debian | bullseye | fixed | 8.1-1+deb11u1 |
| debian | forky | fixed | 9.1-1 |
| debian | sid | fixed | 9.1-1 |
| debian | trixie | fixed | 9.1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | websockets | <9.1 | 9.1 |
| PyPI | websockets | <547a26b685d08cac0aa64e5e65f7867ac0ea9bc0||<9.1 | 547a26b685d08cac0aa64e5e65f7867ac0ea9bc0 |
References
- https://security.archlinux.org/ASA-202106-26
- https://nvd.nist.gov/vuln/detail/CVE-2021-33880
- https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0
- https://github.com/aaugustin/websockets
- https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://github.com/advisories/GHSA-8ch4-58qp-g3mp
- https://security-tracker.debian.org/tracker/CVE-2021-33880
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.