CVE-2021-20255
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•LOW•Score: 2.1AV:L/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.41%• Percentile: 35%
Techniques & Countermeasures
- CWE-835•Loop with Unreachable Exit Condition ('Infinite Loop')
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
- CWE-674•Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Affected Systems
- chainguard•qemu
< 11.0.1-r0
- chainguard•qemu-block-iscsi
< 11.0.1-r0
- chainguard•qemu-block-rbd
< 11.0.1-r0
- chainguard•qemu-edk2-aarch64
< 11.0.1-r0
- chainguard•qemu-edk2-x86_64
< 11.0.1-r0
- chainguard•qemu-ipxe
< 11.0.1-r0
- chainguard•qemu-modules
< 11.0.1-r0
- chainguard•qemu-modules-spice
< 11.0.1-r0
- chainguard•qemu-modules-usb-host
< 11.0.1-r0
- chainguard•qemu-system-aarch64
< 11.0.1-r0
- chainguard•qemu-system-x86_64
< 11.0.1-r0
- chainguard•qemu-user
< 11.0.1-r0
- chainguard•qemu-user-binfmt
< 11.0.1-r0
- chainguard•qemu-utils
< 11.0.1-r0
- wolfi•qemu
< 11.0.1-r0
- wolfi•qemu-block-iscsi
< 11.0.1-r0
- wolfi•qemu-block-rbd
< 11.0.1-r0
- wolfi•qemu-edk2-aarch64
< 11.0.1-r0
- wolfi•qemu-edk2-x86_64
< 11.0.1-r0
- wolfi•qemu-ipxe
< 11.0.1-r0
- wolfi•qemu-modules
< 11.0.1-r0
- wolfi•qemu-modules-spice
< 11.0.1-r0
- wolfi•qemu-modules-usb-host
< 11.0.1-r0
- wolfi•qemu-system-aarch64
< 11.0.1-r0
- wolfi•qemu-system-x86_64
< 11.0.1-r0
- wolfi•qemu-user
< 11.0.1-r0
- wolfi•qemu-user-binfmt
< 11.0.1-r0
- wolfi•qemu-utils
< 11.0.1-r0
- debian•qemu
all | all | < 1:8.1.0+ds-1 | < 1:8.1.0+ds-1
- ubuntu•qemu
all | all | all | all | all
- ubuntu•qemu-hwe
all
- debian•debian_linux
9.0
References (9)
- https://bugzilla.redhat.com/show_bug.cgi?id=1930646
- https://www.openwall.com/lists/oss-security/2021/02/25/1
- https://ruhr-uni-bochum.sciebo.de/s/NNWP2GfwzYKeKwE?path=%2Feepro100_stackoverflow1
- https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html
- https://security.netapp.com/advisory/ntap-20210507-0003/
- https://ubuntu.com/security/CVE-2021-20255
- https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06098.html
- https://www.cve.org/CVERecord?id=CVE-2021-20255
- https://security-tracker.debian.org/tracker/CVE-2021-20255