Gentoo Logo

libxml2: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201207-02 / libxml2
Release Date July 09, 2012
Latest Revision July 09, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/libxml2 < 2.8.0_rc1 >= 2.8.0_rc1 All supported architectures

Related bugreports: #416209

Synopsis

A off-by-one error in libxml2 could result in execution of arbitrary code or Denial of Service.

2.  Impact Information

Background

libxml2 is the XML C parser and toolkit developed for the Gnome project.

Description

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libxml2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-libs/libxml2-2.8.0_rc1"

4.  References



Print

Page updated July 09, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.