CVE-2012-4573: Glance OpenStack Glance Arbitrary Deletion Of Vulnerability

MODERATE
Advisory Identifier: GHSA-6rrm-xxvh-7r87
Published
Advisory Summary

CVE-2012-4573 is a MODERATE openstack glance arbitrary deletion of vulnerability (General Security Weakness) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack glance arbitrary deletion of non-protected images. Remediation is available by upgrading affected packages to version 11.0.0a0.

CVE-2012-4573 at a Glance

CVE Identifier CVE-2012-4573
GHSA Identifier GHSA-6rrm-xxvh-7r87
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-2012-4573

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-2012-4573, 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

The v1 API in OpenStack Glance Grizzly, Folsom (2012.2), and Essex (2012.1) allows remote authenticated users to delete arbitrary non-protected images via an image deletion request, a different vulnerability than CVE-2012-5482.

CVE-2012-4573 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

NVD — CVE-2012-4573 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-4573
Security Fix Commit FIX COMMIT
https://github.com/openstack/glance/commit/6ab0992e5472ae3f9bef0d2ced41030655d9d2bc
Security Fix Commit FIX COMMIT
https://github.com/openstack/glance/commit/90bcdc5a89e350a358cf320a03f5afe99795f6f6
Security Fix Commit FIX COMMIT
https://github.com/openstack/glance/commit/efd7e75b1f419a52c7103c7840e24af8e5deb29d
bugs.launchpad.net/glance/+bug/1065187 WEB
https://bugs.launchpad.net/glance/+bug/1065187
exchange.xforce.ibmcloud.com/vulnerabilities/798... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/79895
Glance Source Repository REPOSITORY
https://github.com/openstack/glance
Glance Source Repository REPOSITORY
https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2012-29.yaml
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/092192.html
Glance Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00002.html
osvdb.org/87248 WEB
http://osvdb.org/87248
Glance Security Information SECURITY
http://packetstormsecurity.com/files/118733/Red-Hat-Security-Advisory-2012-1558-01.html
rhn.redhat.com/errata/rhsa-2012-15... WEB
http://rhn.redhat.com/errata/RHSA-2012-1558.html
secunia.com/advisories/51174 WEB
http://secunia.com/advisories/51174
secunia.com/advisories/51234 WEB
http://secunia.com/advisories/51234
Glance Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/11/07/6
Glance Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/11/09/5
Glance Security Information SECURITY
http://www.securityfocus.com/bid/56437
www.ubuntu.com/usn/usn-1626-1 WEB
http://www.ubuntu.com/usn/USN-1626-1
www.ubuntu.com/usn/usn-1626-2 WEB
http://www.ubuntu.com/usn/USN-1626-2

Frequently Asked Questions

What is CVE-2012-4573?
CVE-2012-4573 is a security vulnerability in Glance involving OpenStack Glance arbitrary deletion of non-protected images 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-2012-4573?
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-2012-4573?
CVE-2012-4573 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2012-4573?
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-6rrm-xxvh-7r87",
  "modified" : "2024-11-21T21:49:28Z",
  "published" : "2022-05-17T01:41:54Z",
  "aliases" : [ "CVE-2012-4573" ],
  "summary" : "OpenStack Glance arbitrary deletion of non-protected images",
  "details" : "The v1 API in OpenStack Glance Grizzly, Folsom (2012.2), and Essex (2012.1) allows remote authenticated users to delete arbitrary non-protected images via an image deletion request, a different vulnerability than CVE-2012-5482.",
  "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-2012-4573"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/6ab0992e5472ae3f9bef0d2ced41030655d9d2bc"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/90bcdc5a89e350a358cf320a03f5afe99795f6f6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/glance/commit/efd7e75b1f419a52c7103c7840e24af8e5deb29d"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/glance/+bug/1065187"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/79895"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/glance"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2012-29.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-November/092192.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/87248"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/118733/Red-Hat-Security-Advisory-2012-1558-01.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-1558.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51174"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51234"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/11/07/6"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/11/09/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/56437"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1626-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1626-2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-12T20:29:57Z",
    "nvd_published_at" : "2012-11-11T13:00:00Z"
  }
}