GLSA-201207-02 : libxml2: User-assisted execution of arbitrary code

medium Nessus Plugin ID 59894


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


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

The 'xmlXPtrEvalXPtrPart()' function in xpointer.c contains an off-by-one error.
Impact :

A remote attacker could entice a user or automated system to open a specially crafted XML document with an application using libxml2, possibly resulting in execution of arbitrary code or a Denial of Service condition.
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.8.0_rc1'

See Also

Plugin Details

Severity: Medium

ID: 59894

File Name: gentoo_GLSA-201207-02.nasl

Version: 1.12

Type: local

Published: 7/10/2012

Updated: 1/6/2021

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/9/2012

Reference Information

CVE: CVE-2011-3102

BID: 53540

GLSA: 201207-02