Skip to content
OpenAdvisories
Unscored CVE-2012-2652 EUVD-2012-2638GHSA-47rg-xchh-xj5g

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 …

Published Aug 7, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1.1.0+dfsg-1 —
Debian 13 qemu 1.1.0+dfsg-1 —
Debian 12 qemu 1.1.0+dfsg-1 —
Debian 6.0 qemu 0.12.5+dfsg-3squeeze2 DSA-2545-1
Debian 6.0 qemu-kvm 0.12.5+dfsg-5+squeeze9 DSA-2542-1

Advisories 2

References