CVE-2012-1585: Nova OpenStack Nova Long Server Names Vulnerability

MODERATE
Advisory Identifier: GHSA-pjvw-p2v5-wf6q
Published
Advisory Summary

CVE-2012-1585 is a MODERATE openstack nova long server names vulnerability (General Security Weakness) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova long server names grow nova-api log files significantly. Remediation is available by upgrading affected packages to version 12.0.0a0.

CVE-2012-1585 at a Glance

CVE Identifier CVE-2012-1585
GHSA Identifier GHSA-pjvw-p2v5-wf6q
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Nova
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2012-1585

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-2012-1585, 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 General Security Weakness. 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) Essex before 2011.3 allows remote authenticated users to cause a denial of service (Nova-API log file and disk consumption) via a long server name.

CVE-2012-1585 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-2012-1585?
CVE-2012-1585 is a security vulnerability in Nova involving OpenStack Nova Long server names grow nova-api log files significantly under General Security Weakness.
Which Nova versions are affected?
Affected versions include releases prior to 12.0.0a0 across affected packages: nova.
What version fixes CVE-2012-1585?
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-2012-1585?
CVE-2012-1585 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2012-1585?
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-pjvw-p2v5-wf6q",
  "modified" : "2024-05-14T21:27:08Z",
  "published" : "2022-05-14T01:59:36Z",
  "aliases" : [ "CVE-2012-1585" ],
  "summary" : "OpenStack Nova Long server names grow nova-api log files significantly",
  "details" : "OpenStack Compute (Nova) Essex before 2011.3 allows remote authenticated users to cause a denial of service (Nova-API log file and disk consumption) via a long server name.",
  "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-2012-1585"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/nova/+bug/962515"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/0fa7d12dbfb7ae016657dd91034b4c0781ea43de"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/1ebec5726c7a9db0a6f29fad0ef747b0c087f702"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/c7f526fae6062e9ab51f65474af71d496aa66554"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/nova/commit/c869a41951b77c6930bf4fb4734f05cd3d6ac4b1"
  }, {
    "type" : "WEB",
    "url" : "http://lwn.net/Alerts/491298"
  }, {
    "type" : "WEB",
    "url" : "http://osdir.com/ml/openstack-cloud-computing/2012-03/msg01133.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:27:08Z",
    "nvd_published_at" : "2012-08-17T00:55:00Z"
  }
}