{"id":"CVE-2021-3748","state":"PUBLISHED","title":"A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers ","description":"A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process.","publishedAt":"2022-03-23T19:46:40.000Z","updatedAt":"2024-08-03T17:09:08.293Z","severity":null,"assigner":"redhat","products":["n/a QEMU (virtio-net)"],"affected":[{"vendor":"n/a","product":"QEMU (virtio-net)","versions":[{"version":"Affects qemu v0.10.0 and above, Fixed In – v6.2.0-rc0 and above.","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1998514","https://ubuntu.com/security/CVE-2021-3748","https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6","https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html","https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html","https://security.netapp.com/advisory/ntap-20220425-0004/","https://security.gentoo.org/glsa/202208-27","https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3748.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3748","state":"PUBLISHED","datePublished":"2022-03-23T19:46:40.000Z","dateUpdated":"2024-08-03T17:09:08.293Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-08-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process."}],"affected":[{"vendor":"n/a","product":"QEMU (virtio-net)","versions":[{"version":"Affects qemu v0.10.0 and above, Fixed In – v6.2.0-rc0 and above.","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1998514","tags":["x_refsource_MISC"]},{"url":"https://ubuntu.com/security/CVE-2021-3748","tags":["x_refsource_MISC"]},{"url":"https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6","tags":["x_refsource_MISC"]},{"url":"https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html","name":"[debian-lts-announce] 20220404 [SECURITY] [DLA 2970-1] qemu security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20220425-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202208-27","name":"GLSA-202208-27","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 - Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-09-05T05:06:41.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-3748","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"QEMU (virtio-net)","version":{"version_data":[{"version_value":"Affects qemu v0.10.0 and above, Fixed In – v6.2.0-rc0 and above."}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416 - Use After Free"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1998514","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1998514"},{"name":"https://ubuntu.com/security/CVE-2021-3748","refsource":"MISC","url":"https://ubuntu.com/security/CVE-2021-3748"},{"name":"https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6","refsource":"MISC","url":"https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6"},{"name":"https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html","refsource":"MISC","url":"https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html"},{"name":"[debian-lts-announce] 20220404 [SECURITY] [DLA 2970-1] qemu security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html"},{"name":"https://security.netapp.com/advisory/ntap-20220425-0004/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220425-0004/"},{"name":"GLSA-202208-27","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-27"},{"name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1998514","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://ubuntu.com/security/CVE-2021-3748","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html","name":"[debian-lts-announce] 20220404 [SECURITY] [DLA 2970-1] qemu security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220425-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"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:09:08.293Z"}}]}}}