Advisory

DEBIAN-CVE-2024-2494

Also known as: CVE-2024-2494

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.2, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2024-03-21 14:15 UTC
Modified
2026-11-06 09:47 UTC

Affected packages and fixes

libvirt

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 9.0.0-4+deb12u1 (ecosystem)

Fixed versions

9.0.0-4+deb12u1

Fix

  • Fixed version 9.0.0-4+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libvirt

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 10.2.0-1 (ecosystem)

Fixed versions

10.2.0-1

Fix

  • Fixed version 10.2.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libvirt

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 10.2.0-1 (ecosystem)

Fixed versions

10.2.0-1

Fix

  • Fixed version 10.2.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences