Skip to content
OpenAdvisories
Medium ALAS2023-2023-096 4 CVEs

Moderate: libxml2 security update (Amazon Linux 2023)

Published Feb 17, 2023 · Updated Feb 22, 2023

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-40304: An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked. CVE-2022-40303: An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault. CVE-2022-29824: A flaw was found in the libxml2 library in functions used to manipulate the xmlBuf and the xmlBuffer types. A substantial input causes values to calculate buffer sizes to overflow, resulting in an out-of-bounds write. CVE-2022-23308: valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2023 libxml2 0:2.10.3-2.amzn2023.0.1
Amazon Linux · 2023 libxml2-debuginfo 0:2.10.3-2.amzn2023.0.1
Amazon Linux · 2023 libxml2-debugsource 0:2.10.3-2.amzn2023.0.1
Amazon Linux · 2023 libxml2-devel 0:2.10.3-2.amzn2023.0.1
Amazon Linux · 2023 libxml2-static 0:2.10.3-2.amzn2023.0.1
Amazon Linux · 2023 python3-libxml2 0:2.10.3-2.amzn2023.0.1
Amazon Linux · 2023 python3-libxml2-debuginfo 0:2.10.3-2.amzn2023.0.1

Vulnerabilities 4

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-23308.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-29824.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-40303.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-40304.html