aaugustin/websockets · Security
Observable Timing Discrepancy in aaugustin websockets library
- GHSA ID
- GHSA-8ch4-58qp-g3mp
- CVE ID
- CVE-2021-33880
- Severity
- high
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v4
- 8.2 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
CWEs
- CWE-203 · Observable Discrepancy
- CWE-208 · Observable Timing Discrepancy
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33880 ↗
- https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0 ↗
- https://www.oracle.com/security-alerts/cpujan2022.html ↗
- https://www.oracle.com/security-alerts/cpuapr2022.html ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml ↗
- https://github.com/advisories/GHSA-8ch4-58qp-g3mp ↗