CVE-2021-20181: QEMU - Race Condition
- Cve: CVE-2021-20181
- Name: QEMU - Race Condition
- 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.
- Impact: Attackers can escalate privileges and compromise system confidentiality, integrity, and availability.
- Remediation: Update to the latest version of QEMU that addresses this issue, preferably version 5.2.1 or later.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation, information_disclosure, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to interact with the 9p client
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00333
- Epss percentile: 0.26985
- Assignee: [email protected]
- Published at: 2021-05-13T16:15:07Z
- Age in days: 2021
- Modified at: 2026-06-17T03:33:25Z
- Patch available: yes
- References total: 5
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20181
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1927007 | Issue Tracking, Patch, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210720-0009/ | Third Party Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-21-159/ | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| qemu:qemu | <= 5.2.0 | no | nvd | /v1/products/qemu/qemu |
| debian:debian_linux | = 10.0, = 9.0 | no | nvd | /v1/products/debian/debian_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports