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.0: 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/E:U/U:Green
CVE-ID: CVE-2012-2652
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: QEMU
Affected software:
QEMU

Detailed vulnerability description

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.


How to mitigate CVE-2012-2652

Install update from vendor's website.

Sources