-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2011.1208
                 Low: libxml2 security and bug fix update
                              7 December 2011

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           libxml2
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-2834 CVE-2011-2821 CVE-2011-1944
                   CVE-2011-0216 CVE-2010-4494 CVE-2010-4008

Reference:         ESB-2011.0001
                   ESB-2010.1090

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2011-1749.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running libxml2 check for an updated version of the software for 
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Low: libxml2 security and bug fix update
Advisory ID:       RHSA-2011:1749-03
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2011-1749.html
Issue date:        2011-12-06
CVE Names:         CVE-2010-4008 CVE-2010-4494 CVE-2011-0216 
                   CVE-2011-1944 CVE-2011-2821 CVE-2011-2834 
=====================================================================

1. Summary:

Updated libxml2 packages that fix several security issues and various bugs
are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having low
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

The libxml2 library is a development toolbox providing the implementation
of various XML standards. One of those standards is the XML Path Language
(XPath), which is a language for addressing parts of an XML document.

An off-by-one error, leading to a heap-based buffer overflow, was found in
the way libxml2 parsed certain XML files. A remote attacker could provide
a specially-crafted XML file that, when opened in an application linked
against libxml2, would cause the application to crash or, potentially,
execute arbitrary code with the privileges of the user running the
application. (CVE-2011-0216)

An integer overflow flaw, leading to a heap-based buffer overflow, was
found in the way libxml2 parsed certain XPath expressions. If an attacker
were able to supply a specially-crafted XML file to an application using
libxml2, as well as an XPath expression for that application to run against
the crafted file, it could cause the application to crash or, possibly,
execute arbitrary code. (CVE-2011-1944)

Multiple flaws were found in the way libxml2 parsed certain XPath
expressions. If an attacker were able to supply a specially-crafted XML
file to an application using libxml2, as well as an XPath expression for
that application to run against the crafted file, it could cause the
application to crash. (CVE-2010-4008, CVE-2010-4494, CVE-2011-2821,
CVE-2011-2834)

Note: Red Hat does not ship any applications that use libxml2 in a way that
would allow the CVE-2011-1944, CVE-2010-4008, CVE-2010-4494, CVE-2011-2821,
and CVE-2011-2834 flaws to be exploited; however, third-party applications
may allow XPath expressions to be passed which could trigger these flaws.

Red Hat would like to thank the Google Security Team for reporting the
CVE-2010-4008 issue. Upstream acknowledges Bui Quang Minh from Bkis as the
original reporter of CVE-2010-4008.

This update also fixes the following bugs:

* A number of patches have been applied to harden the XPath processing code
in libxml2, such as fixing memory leaks, rounding errors, XPath numbers
evaluations, and a potential error in encoding conversion. (BZ#732335)

All users of libxml2 are advised to upgrade to these updated packages,
which contain backported patches to correct these issues. The desktop must
be restarted (log out, then log back in) for this update to take effect.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

645341 - CVE-2010-4008 libxml2: Crash (stack frame overflow or NULL pointer dereference) by traversal of XPath axis
665963 - CVE-2010-4494 libxml2: double-free in XPath processing code
709747 - CVE-2011-1944 libxml, libxml2: Heap-based buffer overflow by adding new namespace node to an existing nodeset or merging nodesets
724906 - CVE-2011-0216 libxml2: Off-by-one error leading to heap-based buffer overflow in encoding
732335 - Fix various problems and harden the XPath evaluation engine
735712 - CVE-2011-2821 libxml2: double free caused by malformed XPath expression in XSLT
735751 - CVE-2011-2834 libxml2: double-free caused by malformed XPath expression in XSLT

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

i386:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-python-2.7.6-4.el6.i686.rpm

x86_64:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-2.7.6-4.el6.x86_64.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-python-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

i386:
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-static-2.7.6-4.el6.i686.rpm

x86_64:
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.x86_64.rpm
libxml2-static-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

x86_64:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-2.7.6-4.el6.x86_64.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-python-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

x86_64:
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.x86_64.rpm
libxml2-static-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

i386:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-python-2.7.6-4.el6.i686.rpm

ppc64:
libxml2-2.7.6-4.el6.ppc.rpm
libxml2-2.7.6-4.el6.ppc64.rpm
libxml2-debuginfo-2.7.6-4.el6.ppc.rpm
libxml2-debuginfo-2.7.6-4.el6.ppc64.rpm
libxml2-devel-2.7.6-4.el6.ppc.rpm
libxml2-devel-2.7.6-4.el6.ppc64.rpm
libxml2-python-2.7.6-4.el6.ppc64.rpm

s390x:
libxml2-2.7.6-4.el6.s390.rpm
libxml2-2.7.6-4.el6.s390x.rpm
libxml2-debuginfo-2.7.6-4.el6.s390.rpm
libxml2-debuginfo-2.7.6-4.el6.s390x.rpm
libxml2-devel-2.7.6-4.el6.s390.rpm
libxml2-devel-2.7.6-4.el6.s390x.rpm
libxml2-python-2.7.6-4.el6.s390x.rpm

x86_64:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-2.7.6-4.el6.x86_64.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.x86_64.rpm
libxml2-python-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

i386:
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-static-2.7.6-4.el6.i686.rpm

ppc64:
libxml2-debuginfo-2.7.6-4.el6.ppc64.rpm
libxml2-static-2.7.6-4.el6.ppc64.rpm

s390x:
libxml2-debuginfo-2.7.6-4.el6.s390x.rpm
libxml2-static-2.7.6-4.el6.s390x.rpm

x86_64:
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-static-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

i386:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-python-2.7.6-4.el6.i686.rpm

x86_64:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-2.7.6-4.el6.x86_64.rpm
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-devel-2.7.6-4.el6.i686.rpm
libxml2-devel-2.7.6-4.el6.x86_64.rpm
libxml2-python-2.7.6-4.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/libxml2-2.7.6-4.el6.src.rpm

i386:
libxml2-debuginfo-2.7.6-4.el6.i686.rpm
libxml2-static-2.7.6-4.el6.i686.rpm

x86_64:
libxml2-debuginfo-2.7.6-4.el6.x86_64.rpm
libxml2-static-2.7.6-4.el6.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-4008.html
https://www.redhat.com/security/data/cve/CVE-2010-4494.html
https://www.redhat.com/security/data/cve/CVE-2011-0216.html
https://www.redhat.com/security/data/cve/CVE-2011-1944.html
https://www.redhat.com/security/data/cve/CVE-2011-2821.html
https://www.redhat.com/security/data/cve/CVE-2011-2834.html
https://access.redhat.com/security/updates/classification/#low

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2011 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFO3jihXlSAg2UNWIIRAij5AJ9pwIiLcpRzdp4Kiwz3qP8xWNCoJQCdG3YK
IwJxCxcGs/EbkeMAWwbL/tg=
=idwN
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBTt8RQe4yVqjM2NGpAQIQkA/+LR/A9sj1MvMsd2vENzqVDuUxrLHigurs
aCU0L7L0I/PZCb77hxlLEDd35RfvaMKJpYoiaP1d5Vrnn87/t1P1TKduzM4h+6wL
3yJDXm5SMkz2/jMDoa+lq7G1wBEQv7vEVfXZNPYokH6t/vN66mwaOgJUPFYj0TXw
FigB+g9HywEbOYHXMc/mJKCqRn+T2AGjSnS9doWlm22FVksIwOHITSjLcC5HNnQ/
PggyoVs/SbyAvVK23MytYOBQpR1OUnCsyo+y3JK0ZzNBKcOJaWVb2AuUfYBPcGut
yOs4xkJYARBDJg2rZGVZlM3eI8a/TDqXXryBtD5bMFLXZwnv4DUgJFT8N6YRfoPo
PrjB8LQXUwpVhjeoXBTAJK+n1MW7lazVmYPhLLUzhGpZBuKo4+V/qcUIN0II/1MC
9Kv60VhAGyhM74AbLEtUGQYyXfGx6cD4PVgFdUaAMRtV2F07sEQ3pn+Yu12dM752
Oymqyr90ThqvQYGCWTcFATFdAqsSsIrOqrcumqHtK7CfrCqJ4s6wlZzptS25IP5h
oHwnFbgotCnJ6wN8f6Q9WORxutIs6mtch3vRv9Va7pCBg17uIf72bmYhEYRs9T/D
tAO8OHfmSNU5lRrVoVvRnv+lePpBY/WLktfrn5FL59g2jBUOyPirvBF/zRNUm8+q
j1ppr0Xaw3U=
=Zg3/
-----END PGP SIGNATURE-----