CVE-2014-5356: Glance OpenStack Glance Improper Validation Of Vulnerability

MODERATE
Advisory Identifier: GHSA-479j-jf2p-38pg
Published
Advisory Summary

CVE-2014-5356 is a MODERATE openstack glance improper validation of vulnerability (General Security Weakness) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack glance improper validation of the image_size_cap configuration option. Remediation is available by upgrading affected packages to version 11.0.0a0.

CVE-2014-5356 at a Glance

CVE Identifier CVE-2014-5356
GHSA Identifier GHSA-479j-jf2p-38pg
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Glance
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2014-5356

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.

glance fixed: 11.0.0a0
pip install glance>=11.0.0a0
Verify Direct and Transitive Dependencies

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-5356, 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 11.0.0a0), 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 General Security Weakness. 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

OpenStack Image Registry and Delivery Service (Glance) before 2013.2.4, 2014.x before 2014.1.3, and Juno before Juno-3, when using the V2 API, does not properly enforce the image_size_cap configuration option, which allows remote authenticated users to cause a denial of service (disk consumption) by uploading a large image.

CVE-2014-5356 Affected Glance Versions

1 component(s)
Fixed Versions:
11.0.0a0
Product / Package Ecosystem Affected Versions Fixed Version
glance
PyPI
< 11.0.0a0
11.0.0a0

References

Frequently Asked Questions

What is CVE-2014-5356?
CVE-2014-5356 is a security vulnerability in Glance involving OpenStack Glance improper validation of the image_size_cap configuration option under General Security Weakness.
Which Glance versions are affected?
Affected versions include releases prior to 11.0.0a0 across affected packages: glance.
What version fixes CVE-2014-5356?
Upgrading to 11.0.0a0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is glance affected?
Yes, glance is affected in releases prior to 11.0.0a0. Upgrade your dependency to 11.0.0a0 or later.
What CWE is associated with CVE-2014-5356?
CVE-2014-5356 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2014-5356?
Run the dependency tree command: 'pip show glance'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-479j-jf2p-38pg",
  "modified" : "2024-05-14T21:32:14Z",
  "published" : "2022-05-17T03:05:47Z",
  "aliases" : [ "CVE-2014-5356" ],
  "summary" : "OpenStack Glance improper validation of the image_size_cap configuration option",
  "details" : "OpenStack Image Registry and Delivery Service (Glance) before 2013.2.4, 2014.x before 2014.1.3, and Juno before Juno-3, when using the V2 API, does not properly enforce the image_size_cap configuration option, which allows remote authenticated users to cause a denial of service (disk consumption) by uploading a large image.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "glance"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.0.0a0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-5356"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/12f43cfed5a47cd16f08b7dad2424da0fc362e47"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/31a4d1852a0c27bac5757c192f300f051229a312"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/92ab00fca6926eaf3f7f92a955a5e07140063718"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/glance/+bug/1315321"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/glance"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1337.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1338.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1685.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/60743"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/08/21/6"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2322-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:32:14Z",
    "nvd_published_at" : "2014-08-25T14:55:00Z"
  }
}