CVE-2013-1840: Glance OpenStack Glance Is Vulnerable To Vulnerability

LOW
Advisory Identifier: GHSA-c8w9-83vg-r8vv
CWE-200
Published
Advisory Summary

CVE-2013-1840 is a LOW openstack glance is vulnerable to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack glance is vulnerable to exposure of sensitive information. Remediation is available by upgrading affected packages to version 11.0.0a0.

CVE-2013-1840 at a Glance

CVE Identifier CVE-2013-1840
GHSA Identifier GHSA-c8w9-83vg-r8vv
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Glance
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2013-1840

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-2013-1840, 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 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 v1 API in OpenStack Glance Essex (2012.1), Folsom (2012.2), and Grizzly, when using the single-tenant Swift or S3 store, reports the location field, which allows remote authenticated users to obtain the operator's backend credentials via a request for a cached image.

CVE-2013-1840 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-2013-1840?
CVE-2013-1840 is a security vulnerability in Glance involving OpenStack Glance is vulnerable to Exposure of Sensitive Information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Glance versions are affected?
Affected versions include releases prior to 11.0.0a0 across affected packages: glance.
What version fixes CVE-2013-1840?
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-2013-1840?
CVE-2013-1840 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-2013-1840?
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-c8w9-83vg-r8vv",
  "modified" : "2026-06-05T17:53:55Z",
  "published" : "2022-05-17T01:36:25Z",
  "aliases" : [ "CVE-2013-1840" ],
  "summary" : "OpenStack Glance is vulnerable to Exposure of Sensitive Information",
  "details" : "The v1 API in OpenStack Glance Essex (2012.1), Folsom (2012.2), and Grizzly, when using the single-tenant Swift or S3 store, reports the location field, which allows remote authenticated users to obtain the operator's backend credentials via a request for a cached 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-2013-1840"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/74b067df9726f9cf3e6e17e248719794a6ee0745"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/dd849a9be540bedd4fd904cc0b86ccd9c3e34af2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/e75764eee34915f8bc5b664ac18e47a556c9d3dd"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/glance/+bug/1135541"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/82878"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/glance"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2013-46.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/24437"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/24438"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/24439"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/91304"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0707.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/52565"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/03/14/15"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/58490"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1764-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:32:10Z",
    "nvd_published_at" : "2013-03-22T21:55:00Z"
  }
}