CVE-2012-5625
Openstack nova: information leak in libvirt lvm-backed instances
Check your servers for CVE-2012-5625
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-5625 affects openstack-nova, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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 (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 71.4% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
OpenStack Folsom for RHEL 6
package
openstack-nova |
unaffected 0:2012.2.2-8.el6ost and later
Other versions: affected
|
|
Red Hat OpenStack Platform 16.2
package
openstack-nova |
unaffected the record does not list versions
|
|
Red Hat OpenStack Platform 17.1
package
openstack-nova |
unaffected the record does not list versions
|
|
Red Hat OpenStack Platform 18.0
package
openstack-nova |
unaffected the record does not list versions
|
Is my server affected?
Find the installed version of openstack-nova and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i openstack-nova
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-5625 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-5625RHEL, Rocky, Alma, Fedora
rpm -q openstack-nova
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-5625Alpine
apk list --installed | grep -i openstack-novaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-5625
trivy image --scanners vuln IMAGE | grep CVE-2012-5625
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://rhn.redhat.com/errata/RHSA-2013-0208.html rhn.redhat.com · vendor advisory
- http://www.ubuntu.com/usn/USN-1663-1 ubuntu.com · vendor advisory
- RHSA-2013:0208 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2012-5625 access.redhat.com · vdb entry
- https://bugs.launchpad.net/nova/+bug/1070539 bugs.launchpad.net
- https://github.com/openstack/nova/commit/9d2ea970422591f8cdc394001be9a2deca499a5f github.com
- https://github.com/openstack/nova/commit/a99a802e008eed18e39fc1d98170edc495cbd354 github.com
- https://launchpad.net/nova/folsom/2012.2.2 launchpad.net
Other references
- http://osvdb.org/88419 osvdb.org · vdb entry
- http://www.openwall.com/lists/oss-security/2012/12/11/5 openwall.com · mailing list
- http://www.securityfocus.com/bid/56904 securityfocus.com · vdb entry
- https://bugzilla.redhat.com/show_bug.cgi?id=884293 bugzilla.redhat.com
Source: the record CVE-2012-5625 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse