CVE-2015-5162: Cinder Remote Code Execution Vulnerability
HIGHCVE-2015-5162 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Cinder libraries in the PyPI ecosystem. The issue involves openstack cinder, glance, and nova contain uncontrolled resource consumption. Remediation is available by upgrading affected packages to version 7.0.2, 9.0.0, 14.0.0, 12.0.4.
CVE-2015-5162 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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2015-5162
To remediate this vulnerability, upgrade all affected Cinder 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 cinder>=7.0.2
pip install cinder>=9.0.0
pip install glance>=14.0.0
pip install nova>=12.0.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show cinder
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-5162, inspect your installed packages using pip:
pip show cinder
Analyze the terminal output to locate any version of Cinder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.2), your application is affected.
Note: The pip show cinder command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Cinder, 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-5162 Affected Cinder Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cinder
|
PyPI |
< 7.0.2
|
7.0.2
|
|
cinder
|
PyPI |
≥ 8.0.0
< 9.0.0
|
9.0.0
|
|
glance
|
PyPI |
< 14.0.0
|
14.0.0
|
|
nova
|
PyPI |
< 12.0.4
|
12.0.4
|
References
Frequently Asked Questions
What is CVE-2015-5162?
Which Cinder versions are affected?
What version fixes CVE-2015-5162?
Is cinder affected?
Is glance affected?
What is the CVSS score of CVE-2015-5162?
What CWE is associated with CVE-2015-5162?
How can I check PyPI dependencies for CVE-2015-5162?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g2j5-7vgx-6xrx",
"modified" : "2023-02-03T23:20:49Z",
"published" : "2022-05-14T03:59:07Z",
"aliases" : [ "CVE-2015-5162" ],
"summary" : "OpenStack Cinder, Glance, and Nova contain Uncontrolled Resource Consumption",
"details" : "The image parser in OpenStack Cinder prior to 7.0.2, and 8.0.0 and above, prior to 9.0.0; Glance prior to 14.00; and Nova prior to 12.0.4 does not properly limit qemu-img calls, which might allow attackers to cause a denial of service (memory and disk consumption) via a crafted disk image. This issue is patched in Cinder 7.0.2 and 9.0.0; Glance 14.0.0; and Nova 12.0.4",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "cinder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "cinder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "9.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "glance"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "12.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5162"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/cinder/commit/455b318ced717fb38dfe40014817d78fbc47dea5"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/glance/commit/69a9b659fd48aa3c1f84fc7bc9ae236b6803d31f"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/6bc37dcceca823998068167b49aec6def3112397"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2015-5162"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1268303"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/bugs/1449062"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2016-2923.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2016-2991.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0153.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0156.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0165.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0282.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2016/10/06/8"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/76849"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-03T23:20:49Z",
"nvd_published_at" : "2016-10-07T14:59:00Z"
}
}