Amazon Linux Security Advisory
ALAS2-2021-1677
Amazon Linux 2 2017.12 - ALAS2-2021-1677: medium priority package update for libxml2
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-3537: A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application. The highest threat from this vulnerability is to system availability. 1956522: CVE-2021-3537 libxml2: NULL pointer dereference when post-validating mixed content parsed in recovery mode
CVE-2021-3518: There's a flaw in libxml2. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability. 1954242: CVE-2021-3518 libxml2: Use-after-free in xmlXIncludeDoProcess() in xinclude.c
CVE-2021-3516: There's a flaw in libxml2's xmllint. An attacker who is able to submit a crafted file to be processed by xmllint could trigger a use-after-free. The greatest impact of this flaw is to confidentiality, integrity, and availability. 1954225: CVE-2021-3516 libxml2: Use-after-free in xmlEncodeEntitiesInternal() in entities.c
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | libxml2 | All versions before 2.9.1-6.amzn2.5.4 (fixed in 2.9.1-6.amzn2.5.4) |
| Amazon Linux:2 | libxml2-debuginfo | All versions before 2.9.1-6.amzn2.5.4 (fixed in 2.9.1-6.amzn2.5.4) |
| Amazon Linux:2 | libxml2-devel | All versions before 2.9.1-6.amzn2.5.4 (fixed in 2.9.1-6.amzn2.5.4) |
| Amazon Linux:2 | libxml2-python | All versions before 2.9.1-6.amzn2.5.4 (fixed in 2.9.1-6.amzn2.5.4) |
| Amazon Linux:2 | libxml2-static | All versions before 2.9.1-6.amzn2.5.4 (fixed in 2.9.1-6.amzn2.5.4) |