CVE-2012-5625: Nova OpenStack Nova Information Leak Vulnerability
MODERATECVE-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
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.
pip install nova>=12.0.0a0
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
CVE-2012-5625 Affected Nova Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nova
|
PyPI |
< 12.0.0a0
|
12.0.0a0
|
References
Frequently Asked Questions
What is CVE-2012-5625?
Which Nova versions are affected?
What version fixes CVE-2012-5625?
Is nova affected?
What CWE is associated with CVE-2012-5625?
How can I check PyPI dependencies for CVE-2012-5625?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}