CVE Vulnerabilities

CVE-2023-3301

Reachable Assertion

Published: Sep 13, 2023 | Modified: Nov 21, 2024
CVSS 3.x
5.6
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.6 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
Ubuntu
MEDIUM

A flaw was found in QEMU. The async nature of hot-unplug enables a race scenario where the net device backend is cleared before the virtio-net pci frontend has been unplugged. A malicious guest could use this time window to trigger an assertion and cause a denial of service.

Weakness

The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Affected Software

Name Vendor Start Version End Version
Qemu Qemu * 8.0.3 (including)
Red Hat Enterprise Linux 8 RedHat virt-devel:rhel-8090020230927071820.b46abd14 *
Red Hat Enterprise Linux 8 RedHat virt:rhel-8090020230927071820.b46abd14 *
Qemu Ubuntu bionic *
Qemu Ubuntu jammy *
Qemu Ubuntu lunar *
Qemu Ubuntu trusty *
Qemu Ubuntu upstream *
Qemu Ubuntu xenial *

Extended Description

While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.

Potential Mitigations

References