{"id":"CVE-2021-33880","aliases":["CLSA-2025-1764115973","DEBIAN-CVE-2021-33880","EUVD-2021-0467","GHSA-8ch4-58qp-g3mp","PYSEC-2021-95","UBUNTU-CVE-2021-33880"],"status":"published","title":"Observable Timing Discrepancy in aaugustin websockets library","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02265,"percentile":0.83241,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-203","CWE-208"],"published":"2021-06-06T14:05:45Z","modified":"2026-10-23T18:03:49Z","fixes":[{"ecosystem":"PyPI","package":"websockets","fixed_in":["9.1"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:PyPI","package":"websockets","fixed_in":["8.1.post1+tuxcare"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"python-websockets","fixed_in":["9.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-websockets","fixed_in":["9.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-websockets","fixed_in":["9.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1"}]}]},{"source":"osv","ecosystem":"TuxCare:PyPI","package":"websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1"},{"fixed":"8.1.post1+tuxcare"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Debian:12","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1"}]}],"versions":["0.1","1.0","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","3.0","3.1","3.2","3.3","3.4","4.0","4.0.1","5.0","5.0.1","6.0","7.0","8.0","8.0.1","8.0.2","8.1","9.0","9.0.1","9.0.2"]},{"source":"osv","ecosystem":"PyPI","package":"websockets","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"547a26b685d08cac0aa64e5e65f7867ac0ea9bc0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1"}]}],"versions":["0.1","1.0","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","3.0","3.1","3.2","3.3","3.4","4.0","4.0.1","5.0","5.0.1","6.0","7.0","8.0","8.0.1","8.0.2","8.1","9.0","9.0.1","9.0.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6-1","3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3-1","3.4-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0-1","8.1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1-1","9.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.4-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.1-1build1","15.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["15.0.1-1build2","16.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"python-websockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["15.0.1-1","15.0.1-1build1","15.0.1-1build2"]}],"products":[{"vendor":"oracle","product":"communications_cloud_native_core_policy"},{"vendor":"oracle","product":"communications_cloud_native_core_security_edge_protection_proxy"},{"vendor":"oracle","product":"communications_cloud_native_core_service_communication_proxy"},{"vendor":"oracle","product":"communications_cloud_native_core_unified_data_repository"},{"vendor":"websockets_project","product":"websockets"}],"references":[{"url":"https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33880","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8ch4-58qp-g3mp","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-33880","tags":["advisory"]},{"url":"https://github.com/aaugustin/websockets","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-33880","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33880","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-33880","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.","status":"published","published":"2021-06-06T14:05:45Z","modified":"2024-08-04T00:05:51.647Z","updated_at":"2026-11-02T14:33:10.555814Z"}],"euvd":[{"id":"EUVD-2021-0467","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.","status":"published","published":"2021-06-06T14:05:45Z","modified":"2024-08-04T00:05:51Z","updated_at":"2026-11-03T03:24:33.318275Z"}],"ghsa":[{"id":"GHSA-8ch4-58qp-g3mp","title":"Observable Timing Discrepancy in aaugustin websockets library","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.","status":"published","published":"2021-06-11T17:43:14Z","modified":"2024-11-19T18:19:56Z","cvss":[{"version":"4.0","score":8.2,"vector":"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","level":"high"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-203","CWE-208"],"updated_at":"2026-11-02T14:38:21.777721Z"}],"nvd":[{"id":"CVE-2021-33880","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.","status":"published","published":"2021-06-06T15:15:07.407Z","modified":"2026-06-17T03:55:19.517Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-203"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"CVE-2021-33880","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.","status":"published","published":"2021-06-06T15:15:07.407Z","modified":"2026-10-20T10:54:44.708609666Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"DEBIAN-CVE-2021-33880","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.","status":"published","published":"2021-06-06T15:15:07.407Z","modified":"2026-10-23T18:03:49.92824915Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"GHSA-8ch4-58qp-g3mp","title":"Observable Timing Discrepancy in aaugustin websockets library","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.","status":"published","published":"2021-06-11T17:43:14Z","modified":"2024-11-19T18:25:23.133425Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"},{"version":"4.0","score":8.2,"vector":"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","level":"high"}],"cwes":["CWE-203","CWE-208"],"updated_at":"2026-11-02T15:46:42.077781Z"},{"id":"UBUNTU-CVE-2021-33880","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.","status":"published","published":"2021-06-06T15:15:00Z","modified":"2026-10-17T12:56:20.120395996Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"CLSA-2025-1764115973","title":"TuxCare security update for websockets (1 CVE)","description":"TuxCare rebuilt websockets to address 1 CVE. Fixed in 8.1.post1+tuxcare.","status":"published","published":"2026-08-04T14:52:09Z","modified":"2026-10-15T09:48:00.688816781Z","updated_at":"2026-11-02T15:43:42.847264Z"},{"id":"PYSEC-2021-95","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.","status":"published","published":"2021-06-06T15:15:00Z","modified":"2023-11-08T04:06:06.475813Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
