CVE-2012-2652
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Record status
- Modified
Affected
- Qemu 1.0
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2652.md and follow it. Check whether this project is affected by CVE-2012-2652. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169
- http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html
- http://secunia.com/advisories/50132
- http://secunia.com/advisories/50689
- http://www.debian.org/security/2012/dsa-2545
- http://www.securityfocus.com/bid/53725
- http://www.ubuntu.com/usn/USN-1522-1
- http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169
- http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html
- http://secunia.com/advisories/50132
- http://secunia.com/advisories/50689
- http://www.debian.org/security/2012/dsa-2545
- http://www.securityfocus.com/bid/53725
- http://www.ubuntu.com/usn/USN-1522-1