Input validation error in QEMU - CVE-2012-2652

 

Input validation error in QEMU - CVE-2012-2652

Published: August 7, 2012 / Updated: August 4, 2020


Vulnerability identifier: #VU33933
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-2652
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The bdrv_open function in Qemu 1.0 does not properly handle the failure of the mkstemp function, when in snapshot node, which allows local users to overwrite or read arbitrary files via a symlink attack on an unspecified temporary file.


Affected software

QEMU
qemu (Alpine package)

How to mitigate CVE-2012-2652

Install update from vendor's website.

QEMU - update to 1.0.1
qemu (Alpine package) - update to 1.0.1-r3

External References

Related Security Bulletins