CVE-2015-8234: Glance OpenStack Glance Signature Verification Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-wmhw-fvg9-87fc
CVSS 5.5
CWE-328
Published
Advisory Summary

CVE-2015-8234 is a MODERATE (CVSS 5.5) openstack glance signature verification bypass vulnerability (CWE-328: Use of Weak Hash) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack glance signature verification bypass. Remediation is available in the latest vendor maintenance releases.

CVE-2015-8234 at a Glance

CVE Identifier CVE-2015-8234
GHSA Identifier GHSA-wmhw-fvg9-87fc
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-328: Use of Weak Hash
Affected Product Glance
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2015-8234

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: Latest secure release
pip install glance>=Latest secure release
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-2015-8234, 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 the patched release), 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-328: Use of Weak Hash, where the product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack). 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

The image signature algorithm in OpenStack Glance 11.0.0 allows remote attackers to bypass the signature verification process via a crafted image, which triggers an MD5 collision.

CVE-2015-8234 Affected Glance Versions

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

References

Frequently Asked Questions

What is CVE-2015-8234?
CVE-2015-8234 is a security vulnerability in Glance involving OpenStack Glance Signature Verification Bypass under CWE-328: Use of Weak Hash.
Which Glance versions are affected?
Affected versions include releases prior to current release patches across affected packages: glance.
What version fixes CVE-2015-8234?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is glance affected?
Yes, glance is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2015-8234?
CVE-2015-8234 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2015-8234?
CVE-2015-8234 is classified under CWE-328: Use of Weak Hash (The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack).).
How can I check PyPI dependencies for CVE-2015-8234?
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-wmhw-fvg9-87fc",
  "modified" : "2024-11-21T21:57:17Z",
  "published" : "2022-05-17T02:52:21Z",
  "aliases" : [ "CVE-2015-8234" ],
  "summary" : "OpenStack Glance Signature Verification Bypass",
  "details" : "The image signature algorithm in OpenStack Glance 11.0.0 allows remote attackers to bypass the signature verification process via a crafted image, which triggers an MD5 collision.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "glance"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "11.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8234"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/glance/+bug/1516031"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2017-143.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/oss-sec/2015/q4/303"
  }, {
    "type" : "WEB",
    "url" : "https://wiki.openstack.org/wiki/OSSN/OSSN-0061"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/oss-sec/2015/q4/303"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-328" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-03T22:14:42Z",
    "nvd_published_at" : "2017-03-29T14:59:00Z"
  }
}