# CVE-2021-33880: Observable Timing Discrepancy in aaugustin websockets library

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.88%, higher than 80% of CVEs (2026-12-01)
- Published: 2021-06-06T14:05:45.000Z
- Modified: 2026-06-17T03:55:19.517Z
- Also known as: GHSA-8ch4-58qp-g3mp, PYSEC-2021-95
- Weaknesses: CWE-203, CWE-208
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- websockets (PyPI): before 9.1; before 547a26b685d08cac0aa64e5e65f7867ac0ea9bc0
- websockets_project websockets: before 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

## Every score

- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0> (fix, patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33880> (advisory)
- <https://github.com/aaugustin/websockets> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml> (web)
- <https://github.com/advisories/GHSA-8ch4-58qp-g3mp> (advisory)

## Sources

- CVE List: [CVE-2021-33880](https://www.cve.org/CVERecord?id=CVE-2021-33880), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-8ch4-58qp-g3mp](https://github.com/advisories/GHSA-8ch4-58qp-g3mp), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2021-33880](https://nvd.nist.gov/vuln/detail/CVE-2021-33880), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-95](https://osv.dev/vulnerability/PYSEC-2021-95), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-33880 · Whole record: https://cve.day/CVE-2021-33880.json · Rebuilt by cve.day 2026-11-25T22:58:01.662Z
