{"answers":{"affected":"3 open source packages ship an affected version, including websockets. It affects 5 products.","exploited":"There is no known exploitation of CVE-2021-33880 in the wild and no public exploit code.","fix":"Upgrade websockets to 9.1 or later.","what":"CVE-2021-33880 is a medium-severity vulnerability in Oracle Communications Cloud Native Core Policy, published on 6 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-33880 and fix it if it is affected.\n\nWhat it is: CVE-2021-33880 is a medium-severity vulnerability in Oracle Communications Cloud Native Core Policy, published on 6 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-33880 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- websockets (PyPI): affected all versions; fixed in 9.1\n- websockets (PyPI): affected all versions; fixed in 9.1\n- websockets (PyPI): affected all versions; fixed in 9.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-33880/ (Markdown: https://insights.sbomify.com/CVE-2021-33880/index.md)","id":"CVE-2021-33880","markdown":"https://insights.sbomify.com/CVE-2021-33880/index.md","name":"CVE-2021-33880","record":{"aliases":["CLSA-2025-1764115973","DEBIAN-CVE-2021-33880","GHSA-8ch4-58qp-g3mp","PYSEC-2021-95","UBUNTU-CVE-2021-33880"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Python websockets library","requires_auth":"none","summary":"An attacker can guess passwords via timing attacks when HTTP Basic Authentication is enabled in the Python websockets library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"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":"oracle"},{"product":"websockets","vendor":"websockets_project"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Observable Timing Discrepancy in aaugustin websockets library","id":"CVE-2021-33880","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"oracle:communications_cloud_native_core_policy","products":["oracle:communications_cloud_native_core_policy"],"type":"information_disclosure","year":"2021"},"n_packages":3,"n_references":3,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2021-33881"},"packages":[{"ecosystem":"PyPI","fixed":["9.1"],"introduced":["0"],"last_affected":[],"package":"websockets","purl":null,"source":"GHSA-8ch4-58qp-g3mp"},{"ecosystem":"PyPI","fixed":["9.1"],"introduced":["0"],"last_affected":[],"package":"websockets","purl":"pkg:pypi/websockets","source":"GHSA-8ch4-58qp-g3mp"},{"ecosystem":"PyPI","fixed":["9.1"],"introduced":["0"],"last_affected":[],"package":"websockets","purl":"pkg:pypi/websockets","source":"PYSEC-2021-95"}],"prev":{"headline":"Supply chain in n/a","id":"CVE-2021-33879"},"products":["n/a"],"published":"2021-06-06","related":[{"cvss_score":7.5,"headline":"Denial of service in Outside In Technology","id":"CVE-2021-35574","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":7.5,"headline":"Resource Exhaustion in Spring Security","id":"CVE-2021-22119","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.3,"headline":"Prototype Pollution","id":"CVE-2021-23440","kev_date_added":null,"published":"2021-09-12"},{"cvss_score":6.5,"headline":"Directory Traversal with spring-cloud-config-server","id":"CVE-2019-3799","kev_date_added":null,"published":"2019-05-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can guess passwords via timing attacks when HTTP Basic Authentication is enabled in the Python websockets library.","url":"https://insights.sbomify.com/CVE-2021-33880/"}