{"api_version":"1","generated_at":"2026-07-23T08:25:18+00:00","cve":"CVE-2012-2652","urls":{"html":"https://cve.report/CVE-2012-2652","api":"https://cve.report/api/cve/CVE-2012-2652.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2652","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2652"},"summary":{"title":"CVE-2012-2652","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-08-07 20:55:03","updated_at":"2026-04-29 01:13:23"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.4","severity":"","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","baseScore":4.4,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://secunia.com/advisories/50689","name":"http://secunia.com/advisories/50689","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisory SA50689 - SUSE update for kvm - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169","name":"http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"kvm/qemu-kvm.git - QEMU modified to work with kvm","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/50132","name":"http://secunia.com/advisories/50132","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Security Alerts - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log","name":"http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"git.qemu.org Git - qemu-stable-0.15.git/log","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2012/dsa-2545","name":"http://www.debian.org/security/2012/dsa-2545","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2545-1 qemu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1522-1","name":"http://www.ubuntu.com/usn/USN-1522-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1522-1: QEMU vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html","name":"http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE-SU-2012:1202-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/53725","name":"http://www.securityfocus.com/bid/53725","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"QEMU CVE-2012-2652  Insecure Temporary File Creation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=eba25057b9a5e19d10ace2bc7716667a31297169","name":"CONFIRM:http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=eba25057b9a5e19d10ace2bc7716667a31297169","refsource":"MITRE","tags":[],"title":"kvm/qemu-kvm.git - QEMU modified to work with kvm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.qemu.org/?p=qemu-stable-0.15.git;a=log","name":"CONFIRM:http://git.qemu.org/?p=qemu-stable-0.15.git;a=log","refsource":"MITRE","tags":[],"title":"git.qemu.org Git - qemu-stable-0.15.git/log","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2652","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2652","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"2652","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"qemu","cpe5":"qemu","cpe6":"1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:42:31.932Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"50132","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/50132"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log"},{"name":"50689","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/50689"},{"name":"53725","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/53725"},{"name":"SUSE-SU-2012:1202","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html"},{"name":"USN-1522-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1522-1"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169"},{"name":"DSA-2545","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2012/dsa-2545"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-05-28T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2014-02-26T14:57:02.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"50132","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/50132"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log"},{"name":"50689","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/50689"},{"name":"53725","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/53725"},{"name":"SUSE-SU-2012:1202","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html"},{"name":"USN-1522-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1522-1"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169"},{"name":"DSA-2545","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2012/dsa-2545"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-2652","datePublished":"2012-08-07T20:00:00.000Z","dateReserved":"2012-05-14T00:00:00.000Z","dateUpdated":"2024-08-06T19:42:31.932Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-08-07 20:55:03","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","baseScore":4.4,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:qemu:qemu:1.0:*:*:*:*:*:*:*","matchCriteriaId":"5E66599D-9EC4-409C-BD26-62EC3B001984"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2652","Ordinal":"1","Title":"CVE-2012-2652","CVE":"CVE-2012-2652","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2652","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-2652"},{"CveYear":"2012","CveId":"2652","Ordinal":"2","NoteData":"2012-08-07","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"2652","Ordinal":"3","NoteData":"2014-02-26","Type":"Other","Title":"Modified"}]}}}