Synopsis:    Moderate: expat security update
Issue Date:  2012-06-13
CVE Numbers: CVE-2012-0876
             CVE-2012-1148


Expat is a C library written by James Clark for parsing XML documents.

A denial of service flaw was found in the implementation of hash arrays in
Expat. An attacker could use this flaw to make an application using Expat
consume an excessive amount of CPU time by providing a specially-crafted
XML file that triggers multiple hash function collisions. To mitigate
this issue, randomization has been added to the hash function to reduce the
chance of an attacker successfully causing intentional collisions.
(CVE-2012-0876)

A memory leak flaw was found in Expat. If an XML file processed by an
application linked against Expat triggered a memory re-allocation failure,
Expat failed to free the previously allocated memory. This could cause the
application to exit unexpectedly or crash when all available memory is
exhausted. (CVE-2012-1148)

All Expat users should upgrade to these updated packages, which contain
backported patches to correct these issues. After installing the updated
packages, applications using the Expat library must be restarted for the
update to take effect.

SL5:
  i386
     expat-1.95.8-11.el5_8.i386.rpm
     expat-debuginfo-1.95.8-11.el5_8.i386.rpm
     expat-devel-1.95.8-11.el5_8.i386.rpm
  x86_64
     expat-1.95.8-11.el5_8.i386.rpm
     expat-1.95.8-11.el5_8.x86_64.rpm
     expat-debuginfo-1.95.8-11.el5_8.i386.rpm
     expat-debuginfo-1.95.8-11.el5_8.x86_64.rpm
     expat-devel-1.95.8-11.el5_8.i386.rpm
     expat-devel-1.95.8-11.el5_8.x86_64.rpm
SL6:
  i386
     expat-2.0.1-11.el6_2.i686.rpm
     expat-debuginfo-2.0.1-11.el6_2.i686.rpm
     expat-devel-2.0.1-11.el6_2.i686.rpm
  x86_64
     expat-2.0.1-11.el6_2.i686.rpm
     expat-2.0.1-11.el6_2.x86_64.rpm
     expat-debuginfo-2.0.1-11.el6_2.i686.rpm
     expat-debuginfo-2.0.1-11.el6_2.x86_64.rpm
     expat-devel-2.0.1-11.el6_2.i686.rpm
     expat-devel-2.0.1-11.el6_2.x86_64.rpm

- Scientific Linux Development Team