CVE-2013-2104: Python keystoneclient Python-keystoneclient Missing Expiration Check Vulnerability
HIGHCVE-2013-2104 is a HIGH (CVSS 7.5) python-keystoneclient missing expiration check vulnerability (CWE-324: Use of a Key Past its Expiration Date) affecting Python keystoneclient libraries in the PyPI ecosystem. The issue involves python-keystoneclient missing expiration check in pki token validation. Remediation is available by upgrading affected packages to version 0.2.4.
CVE-2013-2104 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2013-2104
To remediate this vulnerability, upgrade all affected Python keystoneclient 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 python-keystoneclient>=0.2.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show python-keystoneclient
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2013-2104, inspect your installed packages using pip:
pip show python-keystoneclient
Analyze the terminal output to locate any version of Python keystoneclient in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.4), your application is affected.
Note: The pip show python-keystoneclient command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-324: Use of a Key Past its Expiration Date, where the product uses a cryptographic key or password past its expiration date, which diminishes its safety significantly by increasing the timing window for cracking attacks against that key. In Python keystoneclient, 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-2104 Affected Python keystoneclient Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
python-keystoneclient
|
PyPI |
< 0.2.4
|
0.2.4
|
References
Frequently Asked Questions
What is CVE-2013-2104?
Which Python keystoneclient versions are affected?
What version fixes CVE-2013-2104?
Is python-keystoneclient affected?
What is the CVSS score of CVE-2013-2104?
What CWE is associated with CVE-2013-2104?
How can I check PyPI dependencies for CVE-2013-2104?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4rrr-j7ff-r844",
"modified" : "2024-10-25T21:14:44Z",
"published" : "2022-05-17T04:54:13Z",
"aliases" : [ "CVE-2013-2104" ],
"summary" : "python-keystoneclient missing expiration check in PKI token validation ",
"details" : "python-keystoneclient before 0.2.4, as used in OpenStack Keystone (Folsom), does not properly check expiry for PKI tokens, which allows remote authenticated users to (1) retain use of a token after it has expired, or (2) use a revoked token once it expires.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "python-keystoneclient"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2104"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2013:0944"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2013-2104"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/python-keystoneclient/+bug/1179615"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=965852"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/python-keystoneclient"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2014-69.yaml"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2013-06/msg00198.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-0944.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/05/28/7"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1851-1"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1875-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-324" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-29T18:28:22Z",
"nvd_published_at" : "2014-01-21T18:55:00Z"
}
}