Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting libvirt package, versions [,10.2.0-rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIBVIRT-6479002
  • published22 Mar 2024
  • disclosed21 Mar 2024
  • creditAlexander Kuznetsov

Introduced: 21 Mar 2024

CVE-2024-2494  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade libvirt to version 10.2.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to improper validation of user-supplied input leading to a negative g_new0 length. An attacker can cause unbounded memory allocation by supplying a crafted input.

CVSS Base Scores

version 3.1