CVE-2013-4477: Keystone OpenStack Identity Keystone Privilege Escalation Vulnerability
LOWCVE-2013-4477 is a LOW openstack identity keystone privilege escalation vulnerability (General Security Weakness) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack identity keystone privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 8.0.0a0.
CVE-2013-4477 at a Glance
How to Fix CVE-2013-4477
To remediate this vulnerability, upgrade all affected Keystone dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install keystone>=8.0.0a0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show keystone
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2013-4477, inspect your installed packages using pip:
pip show keystone
Analyze the terminal output to locate any version of Keystone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.0.0a0), your application is affected.
Note: The pip show keystone command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Keystone, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-4477 Affected Keystone Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystone
|
PyPI |
< 8.0.0a0
|
8.0.0a0
|
References
Frequently Asked Questions
What is CVE-2013-4477?
Which Keystone versions are affected?
What version fixes CVE-2013-4477?
Is keystone affected?
What CWE is associated with CVE-2013-4477?
How can I check PyPI dependencies for CVE-2013-4477?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f889-wfwm-6p7m",
"modified" : "2024-04-08T19:04:48Z",
"published" : "2022-05-17T04:50:52Z",
"aliases" : [ "CVE-2013-4477" ],
"summary" : "OpenStack Identity Keystone Privilege Escalation vulnerability",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.0.0a0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4477"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/b17e7bec768bd53d3977352486378698a3db3cfa"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/c6800ca1ac984c879e75826df6694d6199444ea0"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/1242855"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/keystone"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-0113.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/10/30/6"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-2034-1"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-08T19:04:48Z",
"nvd_published_at" : "2013-11-02T19:55:00Z"
}
}