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

Severity:normal
Title:libxml2: User-assisted execution of arbitrary code
Date:07/09/2012
Bugs: #416209
ID:201207-02

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-libs/libxml2 < 2.8.0_rc1 >= 2.8.0_rc1 All supported architectures

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.

Workaround

There is no known workaround at this time.

Resolution

All libxml2 users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201207-02.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!