CVE-2012-3426: Keystone OpenStack Keystone Token Expiration Issues Vulnerability
MODERATECVE-2012-3426 is a MODERATE openstack keystone token expiration issues vulnerability (General Security Weakness) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone token expiration issues. Remediation is available by upgrading affected packages to version 8.0.0a0.
CVE-2012-3426 at a Glance
How to Fix CVE-2012-3426
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-3426, 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-2012-3426 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-3426?
Which Keystone versions are affected?
What version fixes CVE-2012-3426?
Is Keystone affected?
What CWE is associated with CVE-2012-3426?
How can I check PyPI dependencies for CVE-2012-3426?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xp97-6w7r-4cjc",
"modified" : "2024-11-22T17:53:36Z",
"published" : "2022-05-17T05:23:24Z",
"aliases" : [ "CVE-2012-3426" ],
"summary" : "OpenStack Keystone token expiration issues",
"details" : "OpenStack Keystone before 2012.1.1, as used in OpenStack Folsom before Folsom-1 and OpenStack Essex, does not properly implement token expiration, which allows remote authenticated users to bypass intended authorization restrictions by (1) creating new tokens through token chaining, (2) leveraging possession of a token for a disabled user account, or (3) leveraging possession of a token for an account with a changed password.",
"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-3426"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/375838cfceb88cacc312ff6564e64eb18ee6a355"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/628149b3dc6b58b91fd08e6ca8d91c728ccb8626"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/a67b24878a6156eab17b9098fa649f0279256f5d"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/996595"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/997194"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/998185"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/keystone"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2012-34.yaml"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/keystone/essex/2012.1.1/+download/keystone-2012.1.1.tar.gz"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/29e74e73a6e51cffc0371b32354558391826a4aa"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/375838cfceb88cacc312ff6564e64eb18ee6a355"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/628149b3dc6b58b91fd08e6ca8d91c728ccb8626"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/a67b24878a6156eab17b9098fa649f0279256f5d"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/d9600434da14976463a0bd03abd8e0309f0db454"
}, {
"type" : "WEB",
"url" : "http://github.com/openstack/keystone/commit/ea03d05ed5de0c015042876100d37a6a14bf56de"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/07/27/4"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1552-1"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T20:31:51Z",
"nvd_published_at" : "2012-07-31T10:45:00Z"
}
}