CVE-2013-0335: Nova OpenStack Compute Nova Unauthorised Access Vulnerability

HIGH
Advisory Identifier: GHSA-qfp8-hfqx-c79c
CVSS 6.5
CWE-863
Published
Advisory Summary

CVE-2013-0335 is a HIGH (CVSS 6.5) openstack compute nova unauthorised access vulnerability (CWE-863: Incorrect Authorization) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack compute nova unauthorised access to arbitrary vm using vnc token from deleted vm. Remediation is available by upgrading affected packages to version 12.0.0a0.

CVE-2013-0335 at a Glance

CVE Identifier CVE-2013-0335
GHSA Identifier GHSA-qfp8-hfqx-c79c
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-863: Incorrect Authorization
Affected Product Nova
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

How to Fix CVE-2013-0335

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-0335, 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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

OpenStack Compute (Nova) Grizzly, Folsom (2012.2), and Essex (2012.1) allows remote authenticated users to gain access to a VM in opportunistic circumstances by using the VNC token for a deleted VM that was bound to the same VNC port.

CVE-2013-0335 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-0335?
CVE-2013-0335 is a security vulnerability in Nova involving OpenStack Compute Nova Unauthorised access to arbitrary VM using VNC token from deleted VM under CWE-863: Incorrect Authorization.
Which Nova versions are affected?
Affected versions include releases prior to 12.0.0a0 across affected packages: Nova.
What version fixes CVE-2013-0335?
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 is the CVSS score of CVE-2013-0335?
CVE-2013-0335 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2013-0335?
CVE-2013-0335 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check PyPI dependencies for CVE-2013-0335?
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-qfp8-hfqx-c79c",
  "modified" : "2024-11-26T16:56:49Z",
  "published" : "2022-05-05T02:48:49Z",
  "aliases" : [ "CVE-2013-0335" ],
  "summary" : "OpenStack Compute Nova Unauthorised access to arbitrary VM using VNC token from deleted VM",
  "details" : "OpenStack Compute (Nova) Grizzly, Folsom (2012.2), and Essex (2012.1) allows remote authenticated users to gain access to a VM in opportunistic circumstances by using the VNC token for a deleted VM that was bound to the same VNC port.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "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-0335"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/nova/+bug/1125378"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2013-43.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/22086"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/22758"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/22872"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/05a3374992bc8ba53ddc9c491b51c4b59eed0a72"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/3b0f4cf6bea33e6ee1893f6e872d968b0c309f88"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/48e81f1554ce41c3d4f7445421d19f4a8128e98d"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/ad94a90202193335f011888db017e557b07faf8a"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/e98928cf77645fdc309da894f3bd332e99482e0d"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0709.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/02/26/7"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1771-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-09T16:15:03Z",
    "nvd_published_at" : "2013-03-22T21:55:00Z"
  }
}