CVE-2013-6419: Nova OpenStack Nova Router Metadata Queries Vulnerability

MODERATE
Advisory Identifier: GHSA-22w9-j288-8p9w
CWE-200
Published
Advisory Summary

CVE-2013-6419 is a MODERATE openstack nova router metadata queries vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova router metadata queries are not restricted by tenant. Remediation is available by upgrading affected packages to version 12.0.0a0.

CVE-2013-6419 at a Glance

CVE Identifier CVE-2013-6419
GHSA Identifier GHSA-22w9-j288-8p9w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Nova
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2013-6419

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

nova fixed: 12.0.0a0
pip install nova>=12.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 nova

How to Check if You Are Affected

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

pip show nova

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

Note: The pip show nova 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 Nova, 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

Interaction error in OpenStack Nova and Neutron before Havana 2013.2.1 and icehouse-1 does not validate the instance ID of the tenant making a request, which allows remote tenants to obtain sensitive metadata by spoofing the device ID that is bound to a port, which is not properly handled by (1) api/metadata/handler.py in Nova and (2) the neutron-metadata-agent (`agent/metadata/agent.py`) in Neutron.

CVE-2013-6419 Affected Nova Versions

1 component(s)
Fixed Versions:
12.0.0a0
Product / Package Ecosystem Affected Versions Fixed Version
nova
PyPI
< 12.0.0a0
12.0.0a0

References

Frequently Asked Questions

What is CVE-2013-6419?
CVE-2013-6419 is a security vulnerability in Nova involving OpenStack Nova Router metadata queries are not restricted by tenant under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Nova versions are affected?
Affected versions include releases prior to 12.0.0a0 across affected packages: nova.
What version fixes CVE-2013-6419?
Upgrading to 12.0.0a0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nova affected?
Yes, nova is affected in releases prior to 12.0.0a0. Upgrade your dependency to 12.0.0a0 or later.
What CWE is associated with CVE-2013-6419?
CVE-2013-6419 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-6419?
Run the dependency tree command: 'pip show nova'. 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-22w9-j288-8p9w",
  "modified" : "2024-05-14T21:27:11Z",
  "published" : "2022-05-17T04:50:15Z",
  "aliases" : [ "CVE-2013-6419" ],
  "summary" : "OpenStack Nova Router metadata queries are not restricted by tenant",
  "details" : "Interaction error in OpenStack Nova and Neutron before Havana 2013.2.1 and icehouse-1 does not validate the instance ID of the tenant making a request, which allows remote tenants to obtain sensitive metadata by spoofing the device ID that is bound to a port, which is not properly handled by (1) api/metadata/handler.py in Nova and (2) the neutron-metadata-agent (`agent/metadata/agent.py`) in Neutron.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.0.0a0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-6419"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/07006be9165d1008ca0382b6f0ad25b13a676a55"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/af2f823107010933ecd94a9c938f8b739baaecb7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/bce36e9bdb1fcb9658f7b684d160e656e88d816c"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/neutron/+bug/1235450"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/61428/2/nova/api/metadata/handler.py"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/61439/1/neutron/agent/metadata/agent.py"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0091.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0231.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/12/11/8"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/64250"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:27:10Z",
    "nvd_published_at" : "2014-01-07T18:55:00Z"
  }
}