CVE-2021-33880

NameCVE-2021-33880
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs989561

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-websockets (PTS)bullseye8.1-1+deb11u1fixed
trixie, bookworm10.4-1fixed
sid14.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-websocketssourcestretch(not affected)
python-websocketssourcebuster(not affected)
python-websocketssourcebullseye8.1-1+deb11u1
python-websocketssource(unstable)9.1-1989561

Notes

[buster] - python-websockets <not-affected> (Vulnerable code introduced in 8.0)
[stretch] - python-websockets <not-affected> (Vulnerable code introduced in 8.0)
https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0

Search for package or bug name: Reporting problems