CVE-2012-4457: Keystone OpenStack Keystone Token Authorization For Vulnerability
MODERATECVE-2012-4457 is a MODERATE openstack keystone token authorization for vulnerability (CWE-287: Improper Authentication) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone token authorization for a user in a disabled tenant is allowed. Remediation is available by upgrading affected packages to version 8.0.0a0.
CVE-2012-4457 at a Glance
How to Fix CVE-2012-4457
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-2012-4457, 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 CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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-4457 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-2012-4457?
Which Keystone versions are affected?
What version fixes CVE-2012-4457?
Is Keystone affected?
What CWE is associated with CVE-2012-4457?
How can I check PyPI dependencies for CVE-2012-4457?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x8h4-xf47-pqc3",
"modified" : "2024-01-12T20:20:44Z",
"published" : "2022-05-14T01:58:49Z",
"aliases" : [ "CVE-2012-4457" ],
"summary" : "OpenStack Keystone Token authorization for a user in a disabled tenant is allowed",
"details" : "OpenStack Keystone Essex before 2012.1.2 and Folsom before folsom-3 does not properly handle authorization tokens for disabled tenants, which allows remote authenticated users to access the tenant's resources by requesting a token for the tenant.",
"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-2012-4457"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/4ebfdfaf23c6da8e3c182bf3ec2cb2b7132ef685"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/5373601bbdda10f879c08af1698852142b75f8d5"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=861180"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/78947"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/keystone"
}, {
"type" : "WEB",
"url" : "https://lists.launchpad.net/openstack/msg17035.html"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/50665"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/09/28/6"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/55716"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T20:20:44Z",
"nvd_published_at" : "2012-10-09T15:55:00Z"
}
}