CVE-2012-5625: Nova OpenStack Nova Information Leak Vulnerability

MODERATE
Advisory Identifier: GHSA-rwhr-h69g-8qmq
CWE-200
Published
Advisory Summary

CVE-2012-5625 is a MODERATE openstack nova information leak vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova information leak in libvirt lvm-backed instances. Remediation is available by upgrading affected packages to version 12.0.0a0.

CVE-2012-5625 at a Glance

CVE Identifier CVE-2012-5625
GHSA Identifier GHSA-rwhr-h69g-8qmq
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-2012-5625

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-5625, 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

OpenStack Compute (Nova) Folsom before 2012.2.2 and Grizzly, when using libvirt and LVM backed instances, does not properly clear physical volume (PV) content when reallocating for instances, which allows attackers to obtain sensitive information by reading the memory of the previous logical volume (LV).

CVE-2012-5625 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-5625?
CVE-2012-5625 is a security vulnerability in Nova involving OpenStack Nova Information leak in libvirt LVM-backed instances 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-2012-5625?
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-5625?
CVE-2012-5625 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-2012-5625?
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-rwhr-h69g-8qmq",
  "modified" : "2026-06-08T20:18:12Z",
  "published" : "2022-05-17T05:15:11Z",
  "aliases" : [ "CVE-2012-5625" ],
  "summary" : "OpenStack Nova Information leak in libvirt LVM-backed instances",
  "details" : "OpenStack Compute (Nova) Folsom before 2012.2.2 and Grizzly, when using libvirt and LVM backed instances, does not properly clear physical volume (PV) content when reallocating for instances, which allows attackers to obtain sensitive information by reading the memory of the previous logical volume (LV).",
  "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-5625"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/9d2ea970422591f8cdc394001be9a2deca499a5f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/a99a802e008eed18e39fc1d98170edc495cbd354"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/nova/+bug/1070539"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=884293"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2012-41.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2012-42.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://launchpad.net/nova/folsom/2012.2.2"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0208.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/12/11/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1663-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:27:15Z",
    "nvd_published_at" : "2012-12-26T22:55:00Z"
  }
}