{"api_version":"1","generated_at":"2026-04-23T07:01:04+00:00","cve":"CVE-2021-20181","urls":{"html":"https://cve.report/CVE-2021-20181","api":"https://cve.report/api/cve/CVE-2021-20181.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20181","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20181"},"summary":{"title":"CVE-2021-20181","description":"A race condition flaw was found in the 9pfs server implementation of QEMU up to and including 5.2.0. This flaw allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-05-13 16:15:00","updated_at":"2023-11-07 03:28:00"},"problem_types":["CWE-362"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927007","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1927007","refsource":"MISC","tags":[],"title":"1927007 – (CVE-2021-20181) CVE-2021-20181 qemu: 9pfs: TOCTOU privilege escalation vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3099-1] qemu security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html","name":"[debian-lts-announce] 20210218 [SECURITY] [DLA 2560-1] qemu security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2560-1] qemu security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-159/","name":"https://www.zerodayinitiative.com/advisories/ZDI-21-159/","refsource":"MISC","tags":[],"title":"ZDI-21-159 | Zero Day Initiative","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20210720-0009/","name":"https://security.netapp.com/advisory/ntap-20210720-0009/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-20181 QEMU Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20181","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20181","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20181","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20181","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20181","vulnerable":"1","versionEndIncluding":"5.2.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"qemu","cpe5":"qemu","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20181","qid":"174921","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:1245-1)"},{"cve":"CVE-2021-20181","qid":"174922","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:1240-1)"},{"cve":"CVE-2021-20181","qid":"174923","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:1241-1)"},{"cve":"CVE-2021-20181","qid":"174924","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:1244-1)"},{"cve":"CVE-2021-20181","qid":"174926","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:1242-1)"},{"cve":"CVE-2021-20181","qid":"179892","title":"Debian Security Update for qemu (CVE-2021-20181)"},{"cve":"CVE-2021-20181","qid":"180995","title":"Debian Security Update for qemu (DLA 3099-1)"},{"cve":"CVE-2021-20181","qid":"502354","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2021-20181","qid":"671198","title":"EulerOS Security Update for qemu (EulerOS-SA-2022-1034)"},{"cve":"CVE-2021-20181","qid":"671203","title":"EulerOS Security Update for qemu (EulerOS-SA-2022-1014)"},{"cve":"CVE-2021-20181","qid":"750338","title":"OpenSUSE Security Update for qemu (openSUSE-SU-2021:0363-1)"},{"cve":"CVE-2021-20181","qid":"900156","title":"CBL-Mariner Linux Security Update for qemu-kvm 4.2.0"},{"cve":"CVE-2021-20181","qid":"902810","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for qemu-kvm (4271)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-20181","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"A race condition flaw was found in the 9pfs server implementation of QEMU up to and including 5.2.0. This flaw allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-367->CWE-416","cweId":"CWE-367"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"qemu","version":{"version_data":[{"version_affected":"=","version_value":"up to, including 5.2.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927007","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1927007"},{"url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html"},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html"},{"url":"https://security.netapp.com/advisory/ntap-20210720-0009/","refsource":"MISC","name":"https://security.netapp.com/advisory/ntap-20210720-0009/"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-159/","refsource":"MISC","name":"https://www.zerodayinitiative.com/advisories/ZDI-21-159/"}]}},"nvd":{"publishedDate":"2021-05-13 16:15:00","lastModifiedDate":"2023-11-07 03:28:00","problem_types":["CWE-362"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":0.8,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":6.9},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","versionEndIncluding":"5.2.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20181","Ordinal":"194222","Title":"CVE-2021-20181","CVE":"CVE-2021-20181","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20181","Ordinal":"1","NoteData":"A race condition flaw was found in the 9pfs server implementation of QEMU up to and including 5.2.0. This flaw allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20181","Ordinal":"2","NoteData":"2021-05-13","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20181","Ordinal":"3","NoteData":"2021-07-20","Type":"Other","Title":"Modified"}]}}}