CVE-2013-2255: Python keystoneclient Improper Certificate Validation Vulnerability
MODERATECVE-2013-2255 is a MODERATE (CVSS 5.9) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Python keystoneclient libraries in the PyPI ecosystem. The issue involves openstack keystone and other components vulnerable to improper certificate validation. Remediation is available by upgrading affected packages to version 0.4.0, 7.0.0a0, 8.0.0a0.
CVE-2013-2255 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2013-2255
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.4.0
pip install cinder>=7.0.0a0
pip install neutron>=7.0.0a0
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 python-keystoneclient
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2013-2255, 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.4.0), 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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. 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-2255 Affected Python keystoneclient Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
python-keystoneclient
|
PyPI |
< 0.4.0
|
0.4.0
|
|
cinder
|
PyPI |
< 7.0.0a0
|
7.0.0a0
|
|
neutron
|
PyPI |
< 7.0.0a0
|
7.0.0a0
|
|
keystone
|
PyPI |
< 8.0.0a0
|
8.0.0a0
|
References
Frequently Asked Questions
What is CVE-2013-2255?
Which Python keystoneclient versions are affected?
What version fixes CVE-2013-2255?
Is python-keystoneclient affected?
Is cinder affected?
What is the CVSS score of CVE-2013-2255?
What CWE is associated with CVE-2013-2255?
How can I check PyPI dependencies for CVE-2013-2255?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qh2x-hpf9-cf2g",
"modified" : "2024-05-02T13:26:09Z",
"published" : "2022-05-05T00:28:57Z",
"aliases" : [ "CVE-2013-2255" ],
"summary" : "OpenStack Keystone and other components vulnerable to Improper Certificate Validation",
"details" : "HTTPSConnections in OpenStack Keystone 2013, OpenStack Compute 2013.1, and possibly other OpenStack components, fail to validate server-side SSL certificates.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "python-keystoneclient"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "cinder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.0a0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "neutron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.0a0"
} ]
} ]
}, {
"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-2013-2255"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/cinder/commit/0f9652d92e175a1f7dc3c2a37ab444b8f189375a"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/5bd4c2984d329625a2a8442b316fa235dbb88a3d"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/neutron/commit/7255e056092f034daaeb4246a812900645d46911"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/python-keystoneclient/commit/20e166fd8a943ee3f91ba362a47e9c14c7cc5f4c"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/cve-2013-2255"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/ossn/+bug/1188189"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2255"
}, {
"type" : "WEB",
"url" : "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-2255"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/85562"
}, {
"type" : "WEB",
"url" : "https://security-tracker.debian.org/tracker/CVE-2013-2255"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229073508/https://www.securityfocus.com/bid/61118"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-02T13:26:09Z",
"nvd_published_at" : "2019-11-01T19:15:00Z"
}
}