GLSA-201202-09 : libxml2: User-assisted execution of arbitrary code

High Nessus Plugin ID 58175


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201202-09 (libxml2: User-assisted execution of arbitrary code)

The 'xmlStringLenDecodeEntities()' function in parser.c contains a boundary error which could possibly cause a heap-based buffer overflow.
Impact :

A remote attacker could entice a user to open a specially crafted XML file in an application linked against libxml2, possibly resulting in the remote execution of arbitrary code with the permissions of the user running the application, or Denial of Service.
Workaround :

There is no known workaround at this time.


All libxml2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/libxml2-2.7.8-r4' Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

See Also

Plugin Details

Severity: High

ID: 58175

File Name: gentoo_GLSA-201202-09.nasl

Version: $Revision: 1.8 $

Type: local

Published: 2012/03/01

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libxml2, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/02/29

Reference Information

CVE: CVE-2011-3919

BID: 51300

OSVDB: 78148

GLSA: 201202-09