Red Hat: 2012:0731-01: expat: Moderate Advisory
Summary
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.
Summary
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/knowledge/articles/11258
References
https://www.redhat.com/security/data/cve/CVE-2012-0876.html https://www.redhat.com/security/data/cve/CVE-2012-1148.html https://access.redhat.com/security/updates/classification/#moderate
Package List
Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386:
expat-1.95.8-11.el5_8.i386.rpm
expat-debuginfo-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
RHEL Desktop Workstation (v. 5 client):
Source:
i386:
expat-debuginfo-1.95.8-11.el5_8.i386.rpm
expat-devel-1.95.8-11.el5_8.i386.rpm
x86_64:
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
Red Hat Enterprise Linux (v. 5 server):
Source:
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
ia64:
expat-1.95.8-11.el5_8.i386.rpm
expat-1.95.8-11.el5_8.ia64.rpm
expat-debuginfo-1.95.8-11.el5_8.i386.rpm
expat-debuginfo-1.95.8-11.el5_8.ia64.rpm
expat-devel-1.95.8-11.el5_8.ia64.rpm
ppc:
expat-1.95.8-11.el5_8.ppc.rpm
expat-1.95.8-11.el5_8.ppc64.rpm
expat-debuginfo-1.95.8-11.el5_8.ppc.rpm
expat-debuginfo-1.95.8-11.el5_8.ppc64.rpm
expat-devel-1.95.8-11.el5_8.ppc.rpm
expat-devel-1.95.8-11.el5_8.ppc64.rpm
s390x:
expat-1.95.8-11.el5_8.s390.rpm
expat-1.95.8-11.el5_8.s390x.rpm
expat-debuginfo-1.95.8-11.el5_8.s390.rpm
expat-debuginfo-1.95.8-11.el5_8.s390x.rpm
expat-devel-1.95.8-11.el5_8.s390.rpm
expat-devel-1.95.8-11.el5_8.s390x.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
Red Hat Enterprise Linux Desktop (v. 6):
Source:
i386:
expat-2.0.1-11.el6_2.i686.rpm
expat-debuginfo-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
Red Hat Enterprise Linux Desktop Optional (v. 6):
Source:
i386:
expat-debuginfo-2.0.1-11.el6_2.i686.rpm
expat-devel-2.0.1-11.el6_2.i686.rpm
x86_64:
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
Red Hat Enterprise Linux HPC Node (v. 6):
Source:
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
Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source:
x86_64:
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
Red Hat Enterprise Linux Server (v. 6):
Source:
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
ppc64:
expat-2.0.1-11.el6_2.ppc.rpm
expat-2.0.1-11.el6_2.ppc64.rpm
expat-debuginfo-2.0.1-11.el6_2.ppc.rpm
expat-debuginfo-2.0.1-11.el6_2.ppc64.rpm
expat-devel-2.0.1-11.el6_2.ppc.rpm
expat-devel-2.0.1-11.el6_2.ppc64.rpm
s390x:
expat-2.0.1-11.el6_2.s390.rpm
expat-2.0.1-11.el6_2.s390x.rpm
expat-debuginfo-2.0.1-11.el6_2.s390.rpm
expat-debuginfo-2.0.1-11.el6_2.s390x.rpm
expat-devel-2.0.1-11.el6_2.s390.rpm
expat-devel-2.0.1-11.el6_2.s390x.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
Red Hat Enterprise Linux Workstation (v. 6):
Source:
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
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
Topic
Updated expat packages that fix two security issues are now available forRed Hat Enterprise Linux 5 and 6.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.
Topic
Relevant Releases Architectures
RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
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 Workstation (v. 6) - i386, x86_64
Bugs Fixed
786617 - CVE-2012-0876 expat: hash table collisions CPU usage DoS
801648 - CVE-2012-1148 expat: Memory leak in poolGrow