CVE Vulnerabilities

CVE-2021-3930

Off-by-one Error

Published: Feb 18, 2022 | Modified: Oct 25, 2022
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.2 LOW
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L
Ubuntu
LOW

An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in mode_sense_page() if the page argument was set to MODE_PAGE_ALLS (0x3f). A malicious guest could use this flaw to potentially crash QEMU, resulting in a denial of service condition.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

Name Vendor Start Version End Version
Qemu Qemu * 6.2.0 (excluding)
Advanced Virtualization for RHEL 8.4.0.EUS RedHat virt:av-8040020211126213321.522a0ee4 *
Advanced Virtualization for RHEL 8.4.0.EUS RedHat virt-devel:av-8040020211126213321.522a0ee4 *
Advanced Virtualization for RHEL 8.5.0.Z RedHat virt:av-8050020211203164130.c5368500 *
Advanced Virtualization for RHEL 8.5.0.Z RedHat virt-devel:av-8050020211203164130.c5368500 *
Red Hat Enterprise Linux 8 RedHat virt-devel:rhel-8050020211203195115.c5368500 *
Red Hat Enterprise Linux 8 RedHat virt:rhel-8050020211203195115.c5368500 *
Qemu Ubuntu bionic *
Qemu Ubuntu devel *
Qemu Ubuntu esm-infra/xenial *
Qemu Ubuntu focal *
Qemu Ubuntu hirsute *
Qemu Ubuntu impish *
Qemu Ubuntu jammy *
Qemu Ubuntu kinetic *
Qemu Ubuntu trusty *
Qemu Ubuntu trusty/esm *
Qemu Ubuntu xenial *

Potential Mitigations

References