ADVISORIES

Amazon Linux Security Advisory

ALAS2-2020-1466

Amazon Linux 2 2017.12 - ALAS2-2020-1466: important priority package update for libxml2

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2018-14567: libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035 and CVE-2018-9251. 1619875: CVE-2018-14567 libxml2: Infinite loop caused by incorrect error detection during LZMA decompression

CVE-2018-14404: A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invalid XPath expression in the XPATH_OP_AND or XPATH_OP_OR case. Applications processing untrusted XSL format inputs with the use of the libxml2 library may be vulnerable to a denial of service attack due to a crash of the application. 1595985: CVE-2018-14404 libxml2: NULL pointer dereference in xmlXPathCompOpEval() function in xpath.c

CVE-2017-18258: The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate file. 1566749: CVE-2017-18258 libxml2: Unrestricted memory usage in xz_head() function in xzlib.c

CVE-2017-15412: Use after free in libxml2 before 2.9.5, as used in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. 1523128: CVE-2017-15412 libxml2: Use after free in xmlXPathCompOpEvalPositionalPredicate() function in xpath.c

CVE-2016-5131: Use-after-free vulnerability in libxml2 through 2.9.4, as used in Google Chrome before 52.0.2743.82, allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors related to the XPointer range-to function. 1358641: CVE-2016-5131 libxml2: Use after free triggered by XPointer paths beginning with range-to

CVE-2015-8035: The xz_decomp function in xzlib.c in libxml2 2.9.1 does not properly detect compression errors, which allows context-dependent attackers to cause a denial of service (process hang) via crafted XML data. 1277146: CVE-2015-8035 libxml2: DoS caused by incorrect error detection during XZ decompression

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2libxml2
All versions before 2.9.1-6.amzn2.4.1 (fixed in 2.9.1-6.amzn2.4.1)
Amazon Linux:2libxml2-debuginfo
All versions before 2.9.1-6.amzn2.4.1 (fixed in 2.9.1-6.amzn2.4.1)
Amazon Linux:2libxml2-devel
All versions before 2.9.1-6.amzn2.4.1 (fixed in 2.9.1-6.amzn2.4.1)
Amazon Linux:2libxml2-python
All versions before 2.9.1-6.amzn2.4.1 (fixed in 2.9.1-6.amzn2.4.1)
Amazon Linux:2libxml2-static
All versions before 2.9.1-6.amzn2.4.1 (fixed in 2.9.1-6.amzn2.4.1)

References