CVE-2016-0757: Glance OpenStack Image Service (Glance) Vulnerable Vulnerability

MODERATE
Advisory Identifier: GHSA-5xrj-ghhp-hx7p
CVSS 4.3
CWE-284
Published
Advisory Summary

CVE-2016-0757 is a MODERATE (CVSS 4.3) openstack image service (glance) vulnerable vulnerability (CWE-284: Improper Access Control) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack image service (glance) vulnerable to improper access control. Remediation is available by upgrading affected packages to version 11.0.2.

CVE-2016-0757 at a Glance

CVE Identifier CVE-2016-0757
GHSA Identifier GHSA-5xrj-ghhp-hx7p
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-284: Improper Access Control
Affected Product Glance
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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 None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2016-0757

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.2
pip install glance>=11.0.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-2016-0757, 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.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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. 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 Service (Glance) before 2015.1.3 (kilo) and 11.0.x before 11.0.2 (liberty), when show_multiple_locations is enabled, allow remote authenticated users to change image status and upload new image data by removing the last location of an image.

CVE-2016-0757 Affected Glance Versions

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

References

Frequently Asked Questions

What is CVE-2016-0757?
CVE-2016-0757 is a security vulnerability in Glance involving OpenStack Image Service (Glance) vulnerable to Improper Access Control under CWE-284: Improper Access Control.
Which Glance versions are affected?
Affected versions include releases prior to 11.0.2 across affected packages: glance.
What version fixes CVE-2016-0757?
Upgrading to 11.0.2 (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.2. Upgrade your dependency to 11.0.2 or later.
What is the CVSS score of CVE-2016-0757?
CVE-2016-0757 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2016-0757?
CVE-2016-0757 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2016-0757?
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-5xrj-ghhp-hx7p",
  "modified" : "2023-02-08T18:11:54Z",
  "published" : "2022-05-17T03:43:30Z",
  "aliases" : [ "CVE-2016-0757" ],
  "summary" : "OpenStack Image Service (Glance) vulnerable to Improper Access Control",
  "details" : "OpenStack Image Service (Glance) before 2015.1.3 (kilo) and 11.0.x before 11.0.2 (liberty), when show_multiple_locations is enabled, allow remote authenticated users to change image status and upload new image data by removing the last location of an image.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "glance"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "11.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0757"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:0309"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:0352"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:0354"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:0358"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2016-0757"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1302607"
  }, {
    "type" : "PACKAGE",
    "url" : "https://opendev.org/openstack/glance"
  }, {
    "type" : "WEB",
    "url" : "https://rhn.redhat.com/errata/RHSA-2016-0309.html"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2016-006.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210123081823/https://www.securityfocus.com/bid/82696"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T18:11:54Z",
    "nvd_published_at" : "2016-04-13T17:59:00Z"
  }
}