CVE-2014-0162: Glance OpenStack Image Registry And Delivery Vulnerability
MODERATECVE-2014-0162 is a MODERATE openstack image registry and delivery vulnerability (CWE-20: Improper Input Validation) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack image registry and delivery service (glance) improper input validation vulnerability. Remediation is available by upgrading affected packages to version 2013.2.4.
CVE-2014-0162 at a Glance
How to Fix CVE-2014-0162
To remediate this vulnerability, upgrade all affected Glance 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 glance>=2013.2.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show glance
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-0162, inspect your installed packages using pip:
pip show glance
Analyze the terminal output to locate any version of Glance in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2013.2.4), your application is affected.
Note: The pip show glance command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Glance, 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-2014-0162 Affected Glance Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
glance
|
PyPI |
≥ 2013.2
< 2013.2.4
|
2013.2.4
|
References
Frequently Asked Questions
What is CVE-2014-0162?
Which Glance versions are affected?
What version fixes CVE-2014-0162?
Is glance affected?
What CWE is associated with CVE-2014-0162?
How can I check PyPI dependencies for CVE-2014-0162?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r7pj-rvwg-vxhr",
"modified" : "2023-02-08T19:59:42Z",
"published" : "2022-05-17T04:42:42Z",
"aliases" : [ "CVE-2014-0162" ],
"summary" : "OpenStack Image Registry and Delivery Service (Glance) Improper Input Validation vulnerability",
"details" : "The Sheepdog backend in OpenStack Image Registry and Delivery Service (Glance) 2013.2 before 2013.2.4 and icehouse before icehouse-rc2 allows remote authenticated users with permission to insert or modify an image to execute arbitrary commands via a crafted location.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "glance"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2013.2"
}, {
"fixed" : "2013.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0162"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2014:0455"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2014-0162"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1085163"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/bugs/1298698"
}, {
"type" : "PACKAGE",
"url" : "https://opendev.org/openstack/glance"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-0455.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/04/10/13"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-2193-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T19:59:42Z",
"nvd_published_at" : "2014-04-27T20:55:00Z"
}
}