Vulnerability Details : CVE-2021-4145
A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The `self` pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-4145
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:*
- cpe:2.3:a:qemu:qemu:6.1.0:-:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:6.1.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:6.1.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:6.1.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:6.1.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:6.1.0:rc4:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-4145
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-4145
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.9
|
MEDIUM | AV:L/AC:L/Au:N/C:N/I:N/A:C |
3.9
|
6.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
2.0
|
4.0
|
NIST |
CWE ids for CVE-2021-4145
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-4145
-
https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd
block/mirror: fix NULL pointer dereference in mirror_wait_on_conflicts() (66fed30c) · Commits · QEMU / QEMU · GitLabPatch;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2034602
2034602 – (CVE-2021-4145) CVE-2021-4145 QEMU: NULL pointer dereference in mirror_wait_on_conflicts() in block/mirror.cIssue Tracking;Patch;Third Party Advisory
-
https://security.netapp.com/advisory/ntap-20220311-0004/
CVE-2021-4145 QEMU Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://security.gentoo.org/glsa/202208-27
QEMU: Multiple Vulnerabilities (GLSA 202208-27) — Gentoo securityThird Party Advisory
Jump to