CVE-2024-2494

A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user to perform a denial of service attack by causing the libvirt daemon to crash.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.2 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhatCNA
6.2 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADPADP
---
---
CVEADP
---
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 5%
Debian logo
Debian Releases
Debian Product
Codename
libvirt
bullseye
7.0.0-3+deb11u3
fixed
bookworm
9.0.0-4+deb12u2
fixed
sid
11.3.0-1
fixed
trixie
11.3.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libvirt
plucky
Fixed 10.0.0-2ubuntu8.1
released
oracular
Fixed 10.0.0-2ubuntu8.1
released
noble
Fixed 10.0.0-2ubuntu8.1
released
mantic
Fixed 9.6.0-1ubuntu1.1
released
jammy
Fixed 8.0.0-1ubuntu7.10
released
focal
Fixed 6.0.0-0ubuntu8.19
released
bionic
needs-triage
xenial
needs-triage
trusty
needs-triage