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)buster7.0-1fixed
sid, trixie, bookworm10.4-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-websocketssourcestretch(not affected)
python-websocketssourcebuster(not affected)


[bullseye] - python-websockets <no-dsa> (Minor issue)
[buster] - python-websockets <not-affected> (Vulnerable code introduced in 8.0)
[stretch] - python-websockets <not-affected> (Vulnerable code introduced in 8.0)

Search for package or bug name: Reporting problems