{"answers":{"affected":"3 open source packages ship an affected version, including keystone. It affects 2 products.","exploited":"There is no known exploitation of CVE-2013-4477 in the wild and no public exploit code.","fix":"Upgrade keystone to 8.0.0a0 or later.","what":"CVE-2013-4477 is a low-severity vulnerability in n/a, published on 2 Nov 2013. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-4477 and fix it if it is affected.\n\nWhat it is: CVE-2013-4477 is a low-severity vulnerability in n/a, published on 2 Nov 2013. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-4477 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- 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-2013-4477/ (Markdown: https://insights.sbomify.com/CVE-2013-4477/index.md)","id":"CVE-2013-4477","markdown":"https://insights.sbomify.com/CVE-2013-4477/index.md","name":"CVE-2013-4477","record":{"aliases":["DEBIAN-CVE-2013-4477","GHSA-f889-wfwm-6p7m","PYSEC-2026-831","RHSA-2014:0113"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenStack Identity","requires_auth":"low_privilege","summary":"A logic error in OpenStack Keystone's LDAP backend allows local users to gain privileges by attempting to remove a role they do not possess.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"grizzly","vendor":"openstack"},{"product":"havana","vendor":"openstack"}],"cvss":{"score":3.3,"severity":"low","source":"nvd","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"The LDAP backend in OpenStack Identity (Keystone) Grizzly and Havana, when removing a role on a tenant for a user who does not have that role, adds the role to the user, which allows local users to gain privileges.","ecosystems":["PyPI","Red Hat:openstack:3::el6"],"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 Identity Keystone Privilege Escalation vulnerability","id":"CVE-2013-4477","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"privilege_escalation","year":"2013"},"n_packages":6,"n_references":4,"next":{"headline":"Sup Code Injection vulnerability","id":"CVE-2013-4478"},"packages":[{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"keystone","purl":null,"source":"GHSA-f889-wfwm-6p7m"},{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"GHSA-f889-wfwm-6p7m"},{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"keystone","purl":"pkg:pypi/keystone","source":"PYSEC-2026-831"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:2013.1.4-2.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-keystone","purl":"pkg:rpm/redhat/openstack-keystone","source":"RHSA-2014:0113"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:2013.1.4-2.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-keystone-doc","purl":"pkg:rpm/redhat/openstack-keystone-doc","source":"RHSA-2014:0113"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:2013.1.4-2.el6ost"],"introduced":["0"],"last_affected":[],"package":"python-keystone","purl":"pkg:rpm/redhat/python-keystone","source":"RHSA-2014:0113"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2013-4476"},"products":["n/a"],"published":"2013-11-02","related":[],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-06","vendors":["n/a"]},"summary":"A logic error in OpenStack Keystone's LDAP backend allows local users to gain privileges by attempting to remove a role they do not possess.","url":"https://insights.sbomify.com/CVE-2013-4477/"}