CVE catalog

CVE-2021-33880

python-websockets: CVE-2021-33880

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.27% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-websocketssid17.1-1fixed
Debianpython-websocketsforky17.1-1fixed
Debianpython-websocketstrixie15.0.1-1fixed
Debianpython-websocketsbookworm10.4-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-websocketssourcesid9.1-1not yet assignedNot reported[989561]
Debianpython-websocketssourceforky9.1-1not yet assignedNot reported[989561]
Debianpython-websocketssourcetrixie9.1-1not yet assignedNot reported[989561]
Debianpython-websocketssourcebookworm9.1-1not yet assignedNot reported[989561]

[Debian bug #989561]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-websockets]

    Details (2)
    • 10.4-1 · all · bookworm

      Fixed · Fixed: 9.1-1

      dsa · python-websockets · debian · bookworm; dsa · python-websockets · debian · 12

    • 10.4-1 · all · bookworm

      Fixed · Fixed: 9.1-1

      dsa · python-websockets · debian · bookworm; dsa · python-websockets · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-websockets]

    Details (2)
    • 15.0.1-1 · amd64 · trixie

      Fixed · Fixed: 9.1-1

      dsa · python-websockets · debian · 13

    • 15.0.1-1 · arm64 · trixie

      Fixed · Fixed: 9.1-1

      dsa · python-websockets · debian · 13

Observed:

References