OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[ GLSA 200812-06 ] libxml2: Multiple vulnerabilities

From: Robert Buchholz (rbugentoo.org)
Date: Tue Dec 02 2008 - 11:42:03 CST


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200812-06
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: libxml2: Multiple vulnerabilities
      Date: December 02, 2008
      Bugs: #234099, #237806, #239346, #245960
        ID: 200812-06

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

Synopsis
========

Multiple vulnerabilities in libxml2 might lead to execution of
arbitrary code or Denial of Service.

Background
==========

libxml2 is the XML (eXtended Markup Language) C parser and toolkit
initially developed for the Gnome project.

Affected packages
=================

    -------------------------------------------------------------------
     Package / Vulnerable / Unaffected
    -------------------------------------------------------------------
  1 dev-libs/libxml2 < 2.7.2-r1 >= 2.7.2-r1

Description
===========

Multiple vulnerabilities were reported in libxml2:

* Andreas Solberg reported that libxml2 does not properly detect
  recursion during entity expansion in an attribute value
  (CVE-2008-3281).

* A heap-based buffer overflow has been reported in the
  xmlParseAttValueComplex() function in parser.c (CVE-2008-3529).

* Christian Weiske reported that predefined entity definitions in
  entities are not properly handled (CVE-2008-4409).

* Drew Yao of Apple Product Security reported an integer overflow in
  the xmlBufferResize() function that can lead to an infinite loop
  (CVE-2008-4225).

* Drew Yao of Apple Product Security reported an integer overflow in
  the xmlSAX2Characters() function leading to a memory corruption
  (CVE-2008-4226).

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 the exeution of arbitrary code or a high CPU and
memory consumption.

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.2-r1"

References
==========

  [ 1 ] CVE-2008-3281
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3281
  [ 2 ] CVE-2008-3529
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3529
  [ 3 ] CVE-2008-4409
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4409
  [ 4 ] CVE-2008-4225
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4225
  [ 5 ] CVE-2008-4226
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4226

Availability
============

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

  http://security.gentoo.org/glsa/glsa-200812-06.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
securitygentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQIcBAABAgAGBQJJNXNuAAoJECaaHo/OfoM53eMP/28r9f/cQd5zcmZMmPPy1H6t
EBwqIXEO9oIe4gNVCqhTLyjLbyk4nsoWEemKJklSWuvxQBlZJZowLsnoBVjDe/GU
8ZkqdLYYeKH2DnEuZRIAeI3HnaVcztsd53iffuSs+AHp1Lg7f7igIWoKmX4qzgMP
Lr06f8/4swh1scq2blUfhz5rKcSjW63Peberkvb+7KK7gossjYxksHc3+BuyToTE
ayft/lEVUt2/uDvAw7T6jZ/JMu/4PXZOZjo+DFsilfus8cAdt7PdR2whHn8+MKEo
8qfPlqWIDhZ9P9qQ6hSZSQQMfI92fepHe7Aqi4aEBbxspOxcD+ADpxU3O1OEEE48
jTdkPqLMPkCS8V7ApslAXK9Xdi/KnQiOa+h/+2WzdiPRzM5HTimE7QJHLnpdLWUN
K4gVxfos8SidaZ/LAYltyMWZLAjS26mM1CPKbvOiGAp+uMWrP+fTxRMrLRgJHdw4
SPP8isFNRgWr/yNuEJCoqIAHXomDXWwUel0RuHKnZjscPvsJrv385LjC13zG6Sz7
kMIM5qOK6ug/RPd4TUqUp+K8AeGEPhvrvQRKw1kF/pN+VQCATaHvlDQPwSD61C+2
z55Ckb5wPBuzZMcJrYRWw3tmC1tsx10v6+K9WdV2k2XQ9GNR5i4I3syQpw/iqsIj
Oh4aq7tMH5K8Vz5bYQr8
=FGwd
-----END PGP SIGNATURE-----