- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201202-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: libxml2: User-assisted execution of arbitrary code
     Date: February 29, 2012
     Bugs: #398361
       ID: 201202-09

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=======
A boundary 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
    -------------------------------------------------------------------
  1  dev-libs/libxml2            < 2.7.8-r4               >= 2.7.8-r4

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

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

References
=========
[ 1 ] CVE-2011-3919
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-3919

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/201202-09

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

https://creativecommons.org/licenses/by-sa/2.5/

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

A boundary error in libxml2 could result in execution of arbitrary code or Denial of Service.

Summary

The "xmlStringLenDecodeEntities()" function in parser.c contains a boundary error which could possibly cause a heap-based buffer overflow.

Resolution

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.

References

[ 1 ] CVE-2011-3919 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-3919

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201202-09

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.

Severity
Severity: Normal
Title: libxml2: User-assisted execution of arbitrary code
Date: February 29, 2012
Bugs: #398361
ID: 201202-09

Synopsis

A boundary 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 ------------------------------------------------------------------- 1 dev-libs/libxml2 < 2.7.8-r4 >= 2.7.8-r4

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.

Related News