CVE-2015-1852: Keystonemiddleware OpenStack Keystonemiddleware And Python-keystoneclient Vulnerable Vulnerability
HIGHCVE-2015-1852 is a HIGH (CVSS 7.5) openstack keystonemiddleware and python-keystoneclient vulnerable vulnerability (CWE-295: Improper Certificate Validation) affecting Keystonemiddleware libraries in the PyPI ecosystem. The issue involves openstack keystonemiddleware and python-keystoneclient vulnerable to man-in-the-middle attacks. Remediation is available by upgrading affected packages to version 1.6.0, 1.4.0.
CVE-2015-1852 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-2015-1852
To remediate this vulnerability, upgrade all affected Keystonemiddleware 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 keystonemiddleware>=1.6.0
pip install python-keystoneclient>=1.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show keystonemiddleware
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-1852, inspect your installed packages using pip:
pip show keystonemiddleware
Analyze the terminal output to locate any version of Keystonemiddleware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.0), your application is affected.
Note: The pip show keystonemiddleware 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 Keystonemiddleware, 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-2015-1852 Affected Keystonemiddleware Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystonemiddleware
|
PyPI |
< 1.6.0
|
1.6.0
|
|
python-keystoneclient
|
PyPI |
< 1.4.0
|
1.4.0
|
References
Frequently Asked Questions
What is CVE-2015-1852?
Which Keystonemiddleware versions are affected?
What version fixes CVE-2015-1852?
Is keystonemiddleware affected?
Is python-keystoneclient affected?
What is the CVSS score of CVE-2015-1852?
What CWE is associated with CVE-2015-1852?
How can I check PyPI dependencies for CVE-2015-1852?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p9wq-mjh8-q72m",
"modified" : "2024-09-27T17:46:37Z",
"published" : "2022-05-17T03:17:26Z",
"aliases" : [ "CVE-2015-1852" ],
"summary" : "OpenStack keystonemiddleware and python-keystoneclient vulnerable to man-in-the-middle attacks",
"details" : "The s3_token middleware in OpenStack keystonemiddleware before 1.6.0 and python-keystoneclient before 1.4.0 disables certification verification when the \"insecure\" option is set in a paste configuration (paste.ini) file regardless of the value, which allows remote attackers to conduct man-in-the-middle attacks via a crafted certificate, a different vulnerability than CVE-2014-7144.",
"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" : "keystonemiddleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "python-keystoneclient"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-1852"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2015:1677"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2015:1685"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2015-1852"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystonemiddleware/+bug/1411063"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1209527"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2015-30.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2015-31.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228060649/http://www.securityfocus.com/bid/74187"
}, {
"type" : "WEB",
"url" : "http://lists.openstack.org/pipermail/openstack-announce/2015-April/000350.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1677.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1685.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-2705-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T18:13:02Z",
"nvd_published_at" : "2015-04-17T17:59:00Z"
}
}