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

medium Nessus Plugin ID 59894
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-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.

Solution

All libxml2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/libxml2-2.8.0_rc1'

See Also

https://security.gentoo.org/glsa/201207-02

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

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

Temporal Vector: E:U/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 Ease: No known exploits are available

Patch Publication Date: 7/9/2012

Reference Information

CVE: CVE-2011-3102

BID: 53540

GLSA: 201207-02