{"id":"CVE-2021-4145","state":"PUBLISHED","title":"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 en","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.","publishedAt":"2022-01-25T19:11:14.000Z","updatedAt":"2024-08-03T17:16:04.234Z","severity":null,"assigner":"redhat","products":["n/a QEMU"],"affected":[{"vendor":"n/a","product":"QEMU","versions":[{"version":"qemu-kvm 6.2.0","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2034602","https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd","https://security.netapp.com/advisory/ntap-20220311-0004/","https://security.gentoo.org/glsa/202208-27"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T19:49:23.890Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/4xxx/CVE-2021-4145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-4145","state":"PUBLISHED","datePublished":"2022-01-25T19:11:14.000Z","dateUpdated":"2024-08-03T17:16:04.234Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-12-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"QEMU","versions":[{"version":"qemu-kvm 6.2.0","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2034602","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220311-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202208-27","name":"GLSA-202208-27","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","description":"CWE-476","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-14T18:12:08.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-4145","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"QEMU","version":{"version_data":[{"version_value":"qemu-kvm 6.2.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-476"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=2034602","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2034602"},{"name":"https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd","refsource":"MISC","url":"https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd"},{"name":"https://security.netapp.com/advisory/ntap-20220311-0004/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220311-0004/"},{"name":"GLSA-202208-27","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-27"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2034602","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220311-0004/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-27","name":"GLSA-202208-27","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:16:04.234Z"}}]}}}