CVE-2016-7404: Openstack magnum Openstack Magnum Unsafe Credential Handling Vulnerability

CRITICAL
Advisory Identifier: GHSA-793v-r35j-9rp9
CVSS 9.8
CWE-200
Published
Advisory Summary

CVE-2016-7404 is a CRITICAL (CVSS 9.8) openstack magnum unsafe credential handling vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Openstack magnum libraries in the PyPI ecosystem. The issue involves openstack magnum unsafe credential handling. Remediation is available by upgrading affected packages to version 5.0.0.

CVE-2016-7404 at a Glance

CVE Identifier CVE-2016-7404
GHSA Identifier GHSA-793v-r35j-9rp9
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Openstack magnum
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/A:H).

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 High (I:H)
Availability High (A:H)

How to Fix CVE-2016-7404

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

openstack-magnum fixed: 5.0.0
pip install openstack-magnum>=5.0.0
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 openstack-magnum

How to Check if You Are Affected

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

pip show openstack-magnum

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

Note: The pip show openstack-magnum 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 Openstack magnum, 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 Magnum passes OpenStack credentials into the Heat templates creating its instances. While these should just be used for retrieving the instances' SSL certificates, they allow full API access, though and can be used to perform any API operation the user is authorized to perform.

CVE-2016-7404 Affected Openstack magnum Versions

1 component(s)
Fixed Versions:
5.0.0
Product / Package Ecosystem Affected Versions Fixed Version
openstack-magnum
PyPI
< 5.0.0
5.0.0

References

Frequently Asked Questions

What is CVE-2016-7404?
CVE-2016-7404 is a security vulnerability in Openstack magnum involving Openstack Magnum Unsafe Credential Handling under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Openstack magnum versions are affected?
Affected versions include releases prior to 5.0.0 across affected packages: openstack-magnum.
What version fixes CVE-2016-7404?
Upgrading to 5.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openstack-magnum affected?
Yes, openstack-magnum is affected in releases prior to 5.0.0. Upgrade your dependency to 5.0.0 or later.
What is the CVSS score of CVE-2016-7404?
CVE-2016-7404 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2016-7404?
CVE-2016-7404 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-7404?
Run the dependency tree command: 'pip show openstack-magnum'. 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-793v-r35j-9rp9",
  "modified" : "2023-07-27T23:20:45Z",
  "published" : "2022-05-24T16:48:34Z",
  "aliases" : [ "CVE-2016-7404" ],
  "summary" : "Openstack Magnum Unsafe Credential Handling",
  "details" : "OpenStack Magnum passes OpenStack credentials into the Heat templates creating its instances. While these should just be used for retrieving the instances' SSL certificates, they allow full API access, though and can be used to perform any API operation the user is authorized to perform.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "openstack-magnum"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-7404"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/magnum/commit/e93d82e8b3bc19211efd54edc17aebdca50670c1"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/magnum/+bug/1620536"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.suse.com/show_bug.cgi?id=998182"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/magnum"
  }, {
    "type" : "WEB",
    "url" : "https://opendev.org/openstack/magnum/commit/0bb0d6486d6771ee21bbf897a091b1aa59e01b22"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210124052053/https://www.securityfocus.com/bid/98467"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-27T23:20:45Z",
    "nvd_published_at" : "2019-06-21T14:15:00Z"
  }
}