Use After Free Affecting libvirt package, versions [0.9.6,0.9.6.4)[0.9.11,0.9.11.9)[0.10.2,0.10.2.3)[1.0.0,1.0.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.19% (92nd 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-2317431
  • published14 Dec 2021
  • disclosed8 Feb 2013
  • creditUnknown

Introduced: 8 Feb 2013

CVE-2013-0170  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libvirt to version 0.9.6.4, 0.9.11.9, 0.10.2.3, 1.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. Use-after-free vulnerability in the virNetMessageFree function in rpc/virnetserverclient.c in libvirt 1.0.x before 1.0.2, 0.10.2 before 0.10.2.3, 0.9.11 before 0.9.11.9, and 0.9.6 before 0.9.6.4 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code by triggering certain errors during an RPC connection, which causes a message to be freed without being removed from the message queue.

References

CVSS Scores

version 3.1