{"schemaVersion":3,"id":"CVE-2021-33880","aliases":["GHSA-8ch4-58qp-g3mp","PYSEC-2021-95","UBUNTU-CVE-2021-33880","DEBIAN-CVE-2021-33880"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-06-06T14:05:45.000Z","modified":"2024-08-04T00:05:51.647Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.2,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.6,"severity":"low","vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02265,"percentile":0.82725,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02265},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02265,"percentile":0.82725}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02265,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02265,"percentile":0.82725}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-203","name":"Observable Discrepancy","description":"The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/203.html"}],"affected":[{"vendor":"debian","product":"python-websockets","name":"python-websockets","label":"python-websockets","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-websockets","purlType":"deb","versions":[{"text":"< 9.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-websockets","name":"python-websockets","label":"python-websockets","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-websockets","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"oracle","product":"communications_cloud_native_core_policy","name":"communications cloud native core policy","label":"communications_cloud_native_core_policy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.14.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_policy"},{"vendor":"oracle","product":"communications_cloud_native_core_security_edge_protection_proxy","name":"communications cloud native core security edge protection proxy","label":"communications_cloud_native_core_security_edge_protection_proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.5.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_security_edge_protection_proxy"},{"vendor":"oracle","product":"communications_cloud_native_core_service_communication_proxy","name":"communications cloud native core service communication proxy","label":"communications_cloud_native_core_service_communication_proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.14.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_service_communication_proxy"},{"vendor":"oracle","product":"communications_cloud_native_core_unified_data_repository","name":"communications cloud native core unified data repository","label":"communications_cloud_native_core_unified_data_repository","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.14.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_unified_data_repository"},{"vendor":"PyPI","product":"websockets","name":"websockets","label":"websockets","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/websockets","purlType":"pypi","versions":[{"text":"< 547a26b685d08cac0aa64e5e65f7867ac0ea9bc0","noFixRecorded":false,"fixedIn":null},{"text":"< 9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 547a26b685d08cac0aa64e5e65f7867ac0ea9bc0 | < 9.1","eol":null,"hubHref":null},{"vendor":"websockets_project","product":"websockets","name":"websockets","label":"websockets","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1","eol":null,"hubHref":"/vendor/websockets_project/websockets"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0","label":"github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","label":"www.oracle.com/security-alerts/cpujan2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","label":"www.oracle.com/security-alerts/cpuapr2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33880","label":"nvd.nist.gov/vuln/detail/CVE-2021-33880","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aaugustin/websockets","label":"github.com/aaugustin/websockets","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-8ch4-58qp-g3mp","label":"github.com/advisories/GHSA-8ch4-58qp-g3mp","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-33880","label":"ubuntu.com/security/CVE-2021-33880","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33880","label":"www.cve.org/CVERecord?id=CVE-2021-33880","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-33880","label":"security-tracker.debian.org/tracker/CVE-2021-33880","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-06-06T14:05:45.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T00:05:51.647Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:28:18.632Z","stale":false,"partial":false}}