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

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201202-09.xml

Solution :

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.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.5
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 58175 ()

Bugtraq ID: 51300

CVE ID: CVE-2011-3919