CVE-2021-3750
QEMU EHCI DMA Reentrancy Use-After-Free Denial of Service (DoS)
Description
A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU. EHCI does not verify if the Buffer Pointer overlaps with its MMIO region when it transfers the USB packets. Crafted content may be written to the controller's registers and trigger undesirable actions (such as reset) while the device is still transferring packets. This can ultimately lead to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code within the context of the QEMU process on the host. This flaw affects QEMU versions before 7.0.0.
INFO
Published Date :
May 2, 2022, 7:15 p.m.
Last Modified :
Feb. 12, 2023, 11:42 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
1.5
Public PoC/Exploit Available at Github
CVE-2021-3750 has a 5 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-3750
.
URL | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1999073 | Issue Tracking Third Party Advisory |
https://gitlab.com/qemu-project/qemu/-/issues/541 | Exploit Third Party Advisory |
https://gitlab.com/qemu-project/qemu/-/issues/556 | Third Party Advisory |
https://security.gentoo.org/glsa/202208-27 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220624-0003/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
None
None
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-3750
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-3750
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 12, 2023
Action Type Old Value New Value Changed Description A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU. EHCI does not verify if the Buffer Pointer overlaps with its MMIO region when it transfers the USB packets. Crafted content may be written to the controller's registers and trigger undesirable actions (such as reset) while the device is still transferring packets. This can ultimately lead to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code within the context of the QEMU process on the host. A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU. EHCI does not verify if the Buffer Pointer overlaps with its MMIO region when it transfers the USB packets. Crafted content may be written to the controller's registers and trigger undesirable actions (such as reset) while the device is still transferring packets. This can ultimately lead to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code within the context of the QEMU process on the host. This flaw affects QEMU versions before 7.0.0. Removed CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Removed Reference https://access.redhat.com/errata/RHSA-2022:7967 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2021-3750 [No Types Assigned] Added CWE Red Hat, Inc. CWE-416 -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed Description A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU. EHCI does not verify if the Buffer Pointer overlaps with its MMIO region when it transfers the USB packets. Crafted content may be written to the controller's registers and trigger undesirable actions (such as reset) while the device is still transferring packets. This can ultimately lead to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code within the context of the QEMU process on the host. This flaw affects QEMU versions before 7.0.0. A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU. EHCI does not verify if the Buffer Pointer overlaps with its MMIO region when it transfers the USB packets. Crafted content may be written to the controller's registers and trigger undesirable actions (such as reset) while the device is still transferring packets. This can ultimately lead to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code within the context of the QEMU process on the host. Added CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Added Reference https://access.redhat.com/errata/RHSA-2022:7967 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2021-3750 [No Types Assigned] Removed CWE Red Hat, Inc. CWE-416 -
Modified Analysis by [email protected]
Oct. 25, 2022
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202208-27 No Types Assigned https://security.gentoo.org/glsa/202208-27 Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20220624-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20220624-0003/ Third Party Advisory -
CVE Modified by [email protected]
Aug. 15, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202208-27 [No Types Assigned] -
CVE Modified by [email protected]
Jun. 24, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220624-0003/ [No Types Assigned] -
Initial Analysis by [email protected]
May. 16, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1999073 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1999073 Issue Tracking, Third Party Advisory Changed Reference Type https://gitlab.com/qemu-project/qemu/-/issues/541 No Types Assigned https://gitlab.com/qemu-project/qemu/-/issues/541 Exploit, Third Party Advisory Changed Reference Type https://gitlab.com/qemu-project/qemu/-/issues/556 No Types Assigned https://gitlab.com/qemu-project/qemu/-/issues/556 Third Party Advisory Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (excluding) 7.0.0 Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-3750
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-3750
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.12 }} 0.03%
score
0.47573
percentile