CVE-2012-4413: Keystone OpenStack Keystone Does Not Invalidate Vulnerability
MODERATECVE-2012-4413 is a MODERATE openstack keystone does not invalidate vulnerability (General Security Weakness) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone does not invalidate existing tokens when granting or revoking roles. Remediation is available by upgrading affected packages to version 2012.1.3.
CVE-2012-4413 at a Glance
How to Fix CVE-2012-4413
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>=2012.1.3
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-2012-4413, 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 2012.1.3), 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-2012-4413 Affected Keystone Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystone
|
PyPI |
< 2012.1.3
|
2012.1.3
|
References
Frequently Asked Questions
What is CVE-2012-4413?
Which Keystone versions are affected?
What version fixes CVE-2012-4413?
Is keystone affected?
What CWE is associated with CVE-2012-4413?
How can I check PyPI dependencies for CVE-2012-4413?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mrxv-65rv-6hxq",
"modified" : "2023-02-08T17:55:57Z",
"published" : "2022-05-17T01:42:10Z",
"aliases" : [ "CVE-2012-4413" ],
"summary" : "OpenStack Keystone does not invalidate existing tokens when granting or revoking roles",
"details" : "OpenStack Keystone before 2012.1.3 does not invalidate existing tokens when granting or revoking roles, which allows remote authenticated users to retain the privileges of the revoked roles.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2012.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-4413"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2012:1378"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2012-4413"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/1041396"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=855491"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/78478"
}, {
"type" : "PACKAGE",
"url" : "https://opendev.org/openstack/keystone"
}, {
"type" : "WEB",
"url" : "https://review.opendev.org/c/openstack/keystone/+/12870"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20121114023848/http://www.securityfocus.com/bid/55524"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/58ac6691a21675be9e2ffb0f84a05fc3cd4d2e2e"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/09/12/7"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1564-1"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T17:55:57Z",
"nvd_published_at" : "2012-09-18T17:55:00Z"
}
}