Use After Free Affecting libvirt package, versions [,10.4.0-rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (53rd 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBVIRT-6808843
  • published5 May 2024
  • disclosed2 May 2024
  • creditMartin Širokov

Introduced: 2 May 2024

CVE-2024-4418  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libvirt to version 10.4.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free due to a race condition in the virNetClientIOEventLoop() function. The data pointer to a virNetClientIOEventData object can be used after its containing stack frame has been freed.

CVSS Base Scores

version 3.1