CVE-2012-4456: Keystone OpenStack Keystone Improper Authentication Vulnerability Vulnerability
HIGHCVE-2012-4456 is a HIGH openstack keystone improper authentication vulnerability vulnerability (CWE-287: Improper Authentication) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone improper authentication vulnerability. Remediation is available by upgrading affected packages to version 2012.1.2.
CVE-2012-4456 at a Glance
How to Fix CVE-2012-4456
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.2
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-4456, 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.2), 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-4456 Affected Keystone Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystone
|
PyPI |
≥ 2012.1
< 2012.1.2
|
2012.1.2
|
References
Frequently Asked Questions
What is CVE-2012-4456?
Which Keystone versions are affected?
What version fixes CVE-2012-4456?
Is keystone affected?
What CWE is associated with CVE-2012-4456?
How can I check PyPI dependencies for CVE-2012-4456?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mf98-r2gf-2x3w",
"modified" : "2023-02-08T18:06:46Z",
"published" : "2022-05-14T01:58:49Z",
"aliases" : [ "CVE-2012-4456" ],
"summary" : "OpenStack Keystone Improper Authentication vulnerability",
"details" : "The (1) OS-KSADM/services and (2) tenant APIs in OpenStack Keystone Essex before 2012.1.2 and Folsom before folsom-2 do not properly validate X-Auth-Token, which allow remote attackers to read the roles for an arbitrary user or get, create, or delete arbitrary services.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2012.1"
}, {
"fixed" : "2012.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-4456"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/14b136aed9d988f5a8f3e699bd4577c9b874d6c1"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/1d146f5c32e58a73a677d308370f147a3271c2cb"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/24df3adb3f50cbb5ada411bc67aba8a781e6a431"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/868054992faa45d6f42d822bf1588cb88d7c9ccb"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2012:1378"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2012-4456"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/1006815"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/1006822"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=861179"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/78944"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/keystone"
}, {
"type" : "WEB",
"url" : "https://lists.launchpad.net/openstack/msg17034.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20121114024512/http://www.securityfocus.com/bid/55716"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/09/28/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T18:06:46Z",
"nvd_published_at" : "2012-10-09T15:55:00Z"
}
}