{"answers":{"affected":"9 open source packages ship an affected version, including keystone. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-38155 in the wild and no public exploit code.","fix":"Upgrade keystone to a fixed version for your release line: 16.0.2, 17.0.1, 18.0.1 or 19.0.1.","what":"CVE-2021-38155 is a high-severity vulnerability in n/a, published on 6 Aug 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-38155 and fix it if it is affected.\n\nWhat it is: CVE-2021-38155 is a high-severity vulnerability in n/a, published on 6 Aug 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-38155 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- keystone (PyPI): affected from 10.0; fixed in 16.0.2, 17.0.1, 18.0.1, 19.0.1\n- keystone (PyPI): affected from 10.0; fixed in 16.0.2\n- keystone (PyPI): affected from 10.0; fixed in 16.0.2\n- keystone (PyPI): affected from 17.0; fixed in 17.0.1\n- keystone (PyPI): affected from 17.0; fixed in 17.0.1\n- keystone (PyPI): affected from 18.0; fixed in 18.0.1\n- keystone (PyPI): affected from 18.0; fixed in 18.0.1\n- keystone (PyPI): affected from 19.0; fixed in 19.0.1\n- keystone (PyPI): affected from 19.0; fixed in 19.0.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-38155/ (Markdown: https://insights.sbomify.com/CVE-2021-38155/index.md)","id":"CVE-2021-38155","markdown":"https://insights.sbomify.com/CVE-2021-38155/index.md","name":"CVE-2021-38155","record":{"aliases":["DEBIAN-CVE-2021-38155","GHSA-4225-97pr-rr52","PYSEC-2026-830","UBUNTU-CVE-2021-38155"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenStack Keystone","requires_auth":"none","summary":"Unauthenticated attackers can confirm account existence and obtain UUIDs by guessing names and failing authentication, requiring enabled lockout features.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"keystone","vendor":"openstack"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"}],"description":"OpenStack Keystone 10.x through 16.x before 16.0.2, 17.x before 17.0.1, 18.x before 18.0.1, and 19.x before 19.0.1 allows information disclosure during account locking (related to PCI DSS features). By guessing the name of an account and failing to authenticate multiple times, any unauthenticated actor could both confirm the account exists and obtain that account's corresponding UUID, which might be leveraged for other unrelated attacks. All deployments enabling security_compliance.lockout_failure_attempts are affected.","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":"OpenStack Keystone allows information disclosure during account locking","id":"CVE-2021-38155","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":9,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-38156"},"packages":[{"ecosystem":"PyPI","fixed":["16.0.2","17.0.1","18.0.1","19.0.1"],"introduced":["10.0","17.0","18.0","19.0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"PYSEC-2026-830"},{"ecosystem":"PyPI","fixed":["16.0.2"],"introduced":["10.0"],"last_affected":[],"package":"keystone","purl":null,"source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["16.0.2"],"introduced":["10.0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["17.0.1"],"introduced":["17.0"],"last_affected":[],"package":"keystone","purl":null,"source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["17.0.1"],"introduced":["17.0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["18.0.1"],"introduced":["18.0"],"last_affected":[],"package":"keystone","purl":null,"source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["18.0.1"],"introduced":["18.0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["19.0.1"],"introduced":["19.0"],"last_affected":[],"package":"keystone","purl":null,"source":"GHSA-4225-97pr-rr52"},{"ecosystem":"PyPI","fixed":["19.0.1"],"introduced":["19.0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"GHSA-4225-97pr-rr52"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2021-38154"},"products":["n/a"],"published":"2021-08-06","related":[{"cvss_score":8.8,"headline":"Insufficient Session Expiration in OpenStack Keystone","id":"CVE-2020-12690","kev_date_added":null,"published":"2020-05-06"},{"cvss_score":8.8,"headline":"OpenStack Keystone Credential Leakage","id":"CVE-2019-19687","kev_date_added":null,"published":"2019-12-09"},{"cvss_score":7.9,"headline":"OpenStack Keystone has an Incorrect Authorization Issue","id":"CVE-2026-43001","kev_date_added":null,"published":"2026-05-01"},{"cvss_score":7.8,"headline":"OpenStack Identity (Keystone) DoS through V3 API authentication chaining","id":"CVE-2014-2828","kev_date_added":null,"published":"2014-04-15"},{"cvss_score":7.5,"headline":"OpenStack Identity Keystone and keystonemiddleware Insufficiently Protected Credentials","id":"CVE-2015-7546","kev_date_added":null,"published":"2016-02-03"},{"cvss_score":7.5,"headline":"OpenStack Keystone Improper Authentication vulnerability","id":"CVE-2012-4456","kev_date_added":null,"published":"2012-10-09"}],"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":"Unauthenticated attackers can confirm account existence and obtain UUIDs by guessing names and failing authentication, requiring enabled lockout features.","url":"https://insights.sbomify.com/CVE-2021-38155/"}