{"id":"CVE-2021-33880","aliases":["CVE-2021-33880","GHSA-8ch4-58qp-g3mp","PYSEC-2021-95"],"related":[],"kind":"vulnerability","state":"published","title":"Observable Timing Discrepancy in aaugustin websockets library","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La biblioteca aaugustin websockets versiones anteriores a 9.1, para Python presenta una Discrepancia de Sincronización Observable en servidores cuando la Autenticación Básica HTTP está habilitada con basic_auth_protocol_factory(credentials=...). Un atacante puede ser capaz de adivinar una contraseña por medio de un ataque de sincronización","source":"nvd"}],"published":"2021-06-06T14:05:45.000Z","modified":"2026-06-17T03:55:19.517Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","score":2.6,"rating":"LOW"}],"cwes":["CWE-203","CWE-208"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.1"}],"ecosystem":"PyPI","package":"websockets","purl":"pkg:pypi/websockets","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"9.1"}],"vendor":"websockets_project","product":"websockets","cpe":"cpe:2.3:a:websockets_project:websockets:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.14.0"}],"vendor":"oracle","product":"communications_cloud_native_core_policy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.5.0"}],"vendor":"oracle","product":"communications_cloud_native_core_security_edge_protection_proxy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.5.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.14.0"}],"vendor":"oracle","product":"communications_cloud_native_core_service_communication_proxy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_service_communication_proxy:1.14.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.14.0"}],"vendor":"oracle","product":"communications_cloud_native_core_unified_data_repository","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.14.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"547a26b685d08cac0aa64e5e65f7867ac0ea9bc0"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.1"}],"ecosystem":"PyPI","package":"websockets","purl":"pkg:pypi/websockets","repo":"https://github.com/aaugustin/websockets","source":"pysec"}],"references":[{"url":"https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33880","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/aaugustin/websockets","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2021-95.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8ch4-58qp-g3mp","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33880","url":"https://www.cve.org/CVERecord?id=CVE-2021-33880","licence":"CVE Terms of Use","modified":"2024-08-04T00:05:51.647Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8ch4-58qp-g3mp","url":"https://github.com/advisories/GHSA-8ch4-58qp-g3mp","licence":"CC-BY-4.0","modified":"2024-11-19T18:25:23.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33880","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33880","licence":"Public domain","modified":"2026-06-17T03:55:19.517Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-95","url":"https://osv.dev/vulnerability/PYSEC-2021-95","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:06.475Z"}],"updatedAt":"2026-11-25T22:58:01.662Z","epss":{"score":0.01876,"percentile":0.80022,"date":"2026-12-01T12:00:22.000Z"}}