{"answers":{"affected":"2 open source packages ship an affected version, including Keystone and keystone. It affects 2 products.","exploited":"There is no known exploitation of CVE-2012-5571 in the wild and no public exploit code.","fix":"Upgrade Keystone to 8.0.0a0 or later.","what":"CVE-2012-5571 is a medium-severity authentication bypass vulnerability in Red Hat OpenStack Platform 13 (Queens), published on 18 Dec 2012. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-5571 and fix it if it is affected.\n\nWhat it is: CVE-2012-5571 is a medium-severity authentication bypass vulnerability in Red Hat OpenStack Platform 13 (Queens), published on 18 Dec 2012. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2012-5571 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Keystone (PyPI): affected all versions; fixed in 8.0.0a0\n- keystone (PyPI): affected all versions; fixed in 8.0.0a0\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-2012-5571/ (Markdown: https://insights.sbomify.com/CVE-2012-5571/index.md)","id":"CVE-2012-5571","markdown":"https://insights.sbomify.com/CVE-2012-5571/index.md","name":"CVE-2012-5571","record":{"aliases":["DEBIAN-CVE-2012-5571","GHSA-qvpr-qm6w-6rcc"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Keystone","requires_auth":"low_privilege","summary":"Remote authenticated users can bypass authorization restrictions in OpenStack Keystone by exploiting improper EC2 token handling after role removal.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"essex","vendor":"openstack"},{"product":"folsom","vendor":"openstack"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-255","name":null},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"A flaw was found in OpenStack Keystone. This vulnerability allows remote authenticated users to bypass intended authorization restrictions. This occurs because OpenStack Keystone does not properly handle EC2 (Elastic Compute Cloud) tokens when a user's role has been removed from a tenant. An attacker can leverage a token associated with a removed user role to gain unauthorized access.","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: openstack keystone: authorization bypass via improper ec2 token handling","id":"CVE-2012-5571","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2012"},"n_packages":2,"n_references":15,"next":{"headline":"Other in n/a","id":"CVE-2012-5572"},"packages":[{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"Keystone","purl":null,"source":"GHSA-qvpr-qm6w-6rcc"},{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"GHSA-qvpr-qm6w-6rcc"}],"prev":{"headline":"Information disclosure in Basic webmail module","id":"CVE-2012-5570"},"products":["Red Hat OpenStack Platform 13 (Queens)","Red Hat OpenStack Platform 16.2","Red Hat OpenStack Platform 17.1","Red Hat OpenStack Platform 18.0"],"published":"2012-12-18","related":[{"cvss_score":8.8,"headline":"Packstack: packstack: arbitrary file overwrite via symlink attack","id":"CVE-2013-0261","kev_date_added":null,"published":"2013-03-08"},{"cvss_score":5.5,"headline":"Information disclosure in Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)","id":"CVE-2013-0266","kev_date_added":null,"published":"2013-03-08"},{"cvss_score":5.5,"headline":"OpenStack Glance arbitrary deletion of non-protected images","id":"CVE-2012-4573","kev_date_added":null,"published":"2012-11-11"},{"cvss_score":5.5,"headline":"OpenStack Glance arbitrary deletion of non-protected images","id":"CVE-2012-5482","kev_date_added":null,"published":"2012-11-11"},{"cvss_score":5.5,"headline":"OpenStack Nova Directory traversal vulnerability","id":"CVE-2012-3360","kev_date_added":null,"published":"2012-07-22"},{"cvss_score":4.9,"headline":"OpenStack Keystone token expiration issues","id":"CVE-2012-3426","kev_date_added":null,"published":"2012-07-31"}],"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":"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":"2026-04-07","vendors":["Red Hat"]},"summary":"Remote authenticated users can bypass authorization restrictions in OpenStack Keystone by exploiting improper EC2 token handling after role removal.","url":"https://insights.sbomify.com/CVE-2012-5571/"}