Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. websockets
  4. ›
  5. CVE-2021-33880

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

June 11, 2021 (updated November 19, 2024)

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.

References

  • github.com/aaugustin/websockets
  • github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0
  • github.com/advisories/GHSA-8ch4-58qp-g3mp
  • github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-33880
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujan2022.html

Code Behaviors & Features

Detect and mitigate CVE-2021-33880 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.1

Fixed versions

  • 9.1

Solution

Upgrade to version 9.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy
  • CWE-208: Observable Timing Discrepancy

Source file

pypi/websockets/CVE-2021-33880.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.