SecurityContext

CVE-2021-4145: QEMU - Null Pointer Dereference

  • Cve: CVE-2021-4145
  • Name: QEMU - Null Pointer Dereference
  • Description: 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.
  • Impact: Unprivileged guest users can crash the host QEMU process, leading to denial of service.
  • Remediation: Update to version 6.2.0 or later.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
  • Epss score: 0.00416
  • Epss percentile: 0.36668
  • Assignee: [email protected]
  • Published at: 2022-01-25T20:15:08Z
  • Age in days: 1764
  • Modified at: 2026-06-17T04:19:06Z
  • Patch available: yes
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-4145
  • 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: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=2034602Issue Tracking, Patch, Third Party Advisory
https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cdPatch, Third Party Advisory
https://security.gentoo.org/glsa/202208-27Third Party Advisory
https://security.netapp.com/advisory/ntap-20220311-0004/Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
qemu:qemu= 6.1.0, = 6.1.0 rc0, = 6.1.0 rc1, = 6.1.0 rc2, = 6.1.0 rc3, = 6.1.0 rc4nonvd/v1/products/qemu/qemu
redhat:enterprise_linux= 8.0nonvd/v1/products/redhat/enterprise_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • 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, exposed hosts