Skip to content
OpenAdvisories
Medium ALAS2-2021-1677 3 CVEs

Moderate: libxml2 security update (Amazon Linux 2)

Published Jul 1, 2021 · Updated Jul 1, 2021

Summary

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

Fixed packages 5

ReleasePackageFixed in
Amazon Linux · 2 libxml2 0:2.9.1-6.amzn2.5.4
Amazon Linux · 2 libxml2-debuginfo 0:2.9.1-6.amzn2.5.4
Amazon Linux · 2 libxml2-devel 0:2.9.1-6.amzn2.5.4
Amazon Linux · 2 libxml2-python 0:2.9.1-6.amzn2.5.4
Amazon Linux · 2 libxml2-static 0:2.9.1-6.amzn2.5.4

Vulnerabilities 3

  • High 8.8
    CVE-2021-3518 EPSS 22%

    Nokogiri Implements libxml2 version vulnerable to use-after-free

    There's a flaw in libxml2 in versions before 2.9.11. 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, an…

  • Medium 5.9

    Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing

    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 …

  • Unscored —

    There's a flaw in libxml2's xmllint in versions before 2.9.11. An attacker who is able to submit a crafted file to be p…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3516.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3518.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3537.html