Vulnerability · Published Mar 9, 2021 · Assigned by redhat
CVE-2021-20255
Medium 5.5
In plain English
A medium-severity infinite loop in QEMU. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A stack overflow via an infinite recursion vulnerability was found in the eepro100 i8255x device emulator of QEMU. This issue occurs while processing controller commands due to a DMA reentry issue. This flaw allows a guest user or process to consume CPU cycles or crash the QEMU process on the host, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | qemu | 6.0.0-r1 | ALPINE-CVE-2021-20255 |
| Alpine:v3.21 | qemu | 6.0.0-r1 | ALPINE-CVE-2021-20255 |
| Alpine:v3.22 | qemu | 6.0.0-r1 | ALPINE-CVE-2021-20255 |
| Alpine:v3.23 | qemu | 6.0.0-r1 | ALPINE-CVE-2021-20255 |
| Alpine:v3.24 | qemu | 6.0.0-r1 | ALPINE-CVE-2021-20255 |
| Debian:12 | qemu | no fix listed | DEBIAN-CVE-2021-20255 |
| Debian:13 | qemu | 1:8.1.0+ds-1 | DEBIAN-CVE-2021-20255 |
| Debian:14 | qemu | 1:8.1.0+ds-1 | DEBIAN-CVE-2021-20255 |
| Ubuntu:22.04:LTS | qemu | no fix listed | UBUNTU-CVE-2021-20255 |
| Ubuntu:24.04:LTS | qemu | no fix listed | UBUNTU-CVE-2021-20255 |
| Ubuntu:25.10 | qemu | no fix listed | UBUNTU-CVE-2021-20255 |
| Ubuntu:26.04:LTS | qemu | no fix listed | UBUNTU-CVE-2021-20255 |
| Ubuntu:26.10 | qemu | no fix listed | UBUNTU-CVE-2021-20255 |
| Ubuntu:26.04:LTS | qemu-hwe | no fix listed | UBUNTU-CVE-2021-20255 |
| Ubuntu:26.10 | qemu-hwe | no fix listed | UBUNTU-CVE-2021-20255 |
Affected products (as reported)
Weakness: CWE-835
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1930646 x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/02/25/1 x_refsource_MISC
- https://ruhr-uni-bochum.sciebo.de/s/NNWP2GfwzYKeKwE?path=%2Feepro100_stackoverflow1 x_refsource_MISC
- [debian-lts-announce] 20210410 [SECURITY] [DLA 2623-1] qemu security update mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210507-0003/ x_refsource_CONFIRM