Distro advisory · AmazonLinux 1
medium priority package update for expat
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux that fix the following vulnerabilities: CVE-2012-1148: Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause improperly-handled reallocation failures when expanding entities. 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. 801648: CVE-2012-1148 expat: Memory leak in poolGrow
CVE-2012-0876: The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value. 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. 786617: CVE-2012-0876 expat: hash table collisions CPU usage DoS
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2012-89sudo yum upgrade --advisory=ALAS-2012-89rpm -q expatSources