Arbitrary Code Execution Affecting libvirt package, versions [0.8.8,0.9.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th 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-2317415
  • published14 Dec 2021
  • disclosed10 Aug 2011
  • creditUnknown

Introduced: 10 Aug 2011

CVE-2011-2178  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade libvirt to version 0.9.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. The virSecurityManagerGetPrivateData function in security/security_manager.c in libvirt 0.8.8 through 0.9.1 uses the wrong argument for a sizeof call, which causes incorrect processing of "security manager private data" that "reopens disk probing" and might allow guest OS users to read arbitrary files on the host OS. NOTE: this vulnerability exists because of a CVE-2010-2238 regression.

CVSS Base Scores

version 3.1