CVE-2015-5163: Glance OpenStack Image Service (Glance) Allows Vulnerability

HIGH
Advisory Identifier: GHSA-q73f-vjc2-3gqf
CVSS 6.5
CWE-200
Published
Advisory Summary

CVE-2015-5163 is a HIGH (CVSS 6.5) openstack image service (glance) allows vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack image service (glance) allows remote authenticated users to read arbitrary file. Remediation is available by upgrading affected packages to version 2015.1.2.

CVE-2015-5163 at a Glance

CVE Identifier CVE-2015-5163
GHSA Identifier GHSA-q73f-vjc2-3gqf
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Glance
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2015-5163

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: 2015.1.2
pip install glance>=2015.1.2
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-5163, 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 2015.1.2), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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 import task action in OpenStack Image Service (Glance) 2015.1.x before 2015.1.2 (kilo), when using the V2 API, allows remote authenticated users to read arbitrary files via a crafted backing file for a qcow2 image.

CVE-2015-5163 Affected Glance Versions

1 component(s)
Fixed Versions:
2015.1.2
Product / Package Ecosystem Affected Versions Fixed Version
glance
PyPI
≥ 2015.1.0
< 2015.1.2
2015.1.2

References

Frequently Asked Questions

What is CVE-2015-5163?
CVE-2015-5163 is a security vulnerability in Glance involving OpenStack Image Service (Glance) allows remote authenticated users to read arbitrary file under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Glance versions are affected?
Affected versions include releases prior to 2015.1.2 across affected packages: glance.
What version fixes CVE-2015-5163?
Upgrading to 2015.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is glance affected?
Yes, glance is affected in releases prior to 2015.1.2. Upgrade your dependency to 2015.1.2 or later.
What is the CVSS score of CVE-2015-5163?
CVE-2015-5163 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2015-5163?
CVE-2015-5163 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2015-5163?
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-q73f-vjc2-3gqf",
  "modified" : "2024-11-26T18:27:54Z",
  "published" : "2022-05-17T03:44:51Z",
  "aliases" : [ "CVE-2015-5163" ],
  "summary" : "OpenStack Image Service (Glance) allows remote authenticated users to read arbitrary file",
  "details" : "The import task action in OpenStack Image Service (Glance) 2015.1.x before 2015.1.2 (kilo), when using the V2 API, allows remote authenticated users to read arbitrary files via a crafted backing file for a qcow2 image.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "glance"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2015.1.0"
      }, {
        "fixed" : "2015.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5163"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/eb99e45829a1b4c93db5692bdbf636a86faa56c4"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2015:1639"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2015-5163"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/glance/+bug/1471912"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1252378"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/glance"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2015-39.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228024903/http://www.securityfocus.com/bid/76346"
  }, {
    "type" : "WEB",
    "url" : "http://lists.openstack.org/pipermail/openstack-announce/2015-August/000527.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1639.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T18:01:32Z",
    "nvd_published_at" : "2015-08-19T15:59:00Z"
  }
}