CVE-2016-4985: Ironic OpenStack Ironic Exposure Of Sensitive Vulnerability

HIGH
Advisory Identifier: GHSA-f7cr-7c2c-fm8r
CVSS 7.5
CWE-200
Published
Advisory Summary

CVE-2016-4985 is a HIGH (CVSS 7.5) openstack ironic exposure of sensitive vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Ironic libraries in the PyPI ecosystem. The issue involves openstack ironic exposure of sensitive information to an unauthorized actor. Remediation is available by upgrading affected packages to version 4.2.5, 5.1.2.

CVE-2016-4985 at a Glance

CVE Identifier CVE-2016-4985
GHSA Identifier GHSA-f7cr-7c2c-fm8r
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Ironic
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
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-2016-4985

To remediate this vulnerability, upgrade all affected Ironic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ironic fixed: 4.2.5
pip install ironic>=4.2.5
ironic fixed: 5.1.2
pip install ironic>=5.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 ironic

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2016-4985, inspect your installed packages using pip:

pip show ironic

Analyze the terminal output to locate any version of Ironic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.5), your application is affected.

Note: The pip show ironic 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 Ironic, 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 ironic-api service in OpenStack Ironic before 4.2.5 (Liberty) and 5.x before 5.1.2 (Mitaka) allows remote attackers to obtain sensitive information about a registered node by leveraging knowledge of the MAC address of a network card belonging to that node and sending a crafted POST request to the `v1/drivers/$DRIVER_NAME/vendor_passthru` resource.

CVE-2016-4985 Affected Ironic Versions

2 component(s)
Fixed Versions:
4.2.55.1.2
Product / Package Ecosystem Affected Versions Fixed Version
ironic
PyPI
< 4.2.5
4.2.5
ironic
PyPI
≥ 5.0
< 5.1.2
5.1.2

References

Frequently Asked Questions

What is CVE-2016-4985?
CVE-2016-4985 is a security vulnerability in Ironic involving OpenStack Ironic Exposure of Sensitive Information to an Unauthorized Actor under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Ironic versions are affected?
Affected versions include releases prior to 4.2.5, 5.1.2 across affected packages: ironic.
What version fixes CVE-2016-4985?
Upgrading to 4.2.5, 5.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ironic affected?
Yes, ironic is affected in releases prior to 4.2.5, 5.1.2. Upgrade your dependency to 4.2.5, 5.1.2 or later.
What is the CVSS score of CVE-2016-4985?
CVE-2016-4985 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2016-4985?
CVE-2016-4985 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-2016-4985?
Run the dependency tree command: 'pip show ironic'. 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-f7cr-7c2c-fm8r",
  "modified" : "2024-05-14T17:31:21Z",
  "published" : "2022-05-13T01:07:34Z",
  "aliases" : [ "CVE-2016-4985" ],
  "summary" : "OpenStack Ironic Exposure of Sensitive Information to an Unauthorized Actor",
  "details" : "The ironic-api service in OpenStack Ironic before 4.2.5 (Liberty) and 5.x before 5.1.2 (Mitaka) allows remote attackers to obtain sensitive information about a registered node by leveraging knowledge of the MAC address of a network card belonging to that node and sending a crafted POST request to the `v1/drivers/$DRIVER_NAME/vendor_passthru` resource.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0"
      }, {
        "fixed" : "5.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-4985"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/ironic/commit/426a306fb580762e97ada04e1253dedd9b64d410"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/ironic/commit/affec224977174581d19a2b914772cb0409f633e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/ironic/commit/f5a3ff1dfcde068769f9a2a477ba6a9edaf69c77"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:1377"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:1378"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2016-4985"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ironic/+bug/1572796"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1346193"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/ironic"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/332195"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/332196"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/332197"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/06/21/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T17:31:21Z",
    "nvd_published_at" : "2016-07-12T19:59:00Z"
  }
}