ALAS2-2023-2021

Related Vulnerabilities: CVE-2023-28484   CVE-2023-29469  

A NULL pointer dereference exists when parsing (invalid) XML schemas in libxml2 xmlSchemaCheckCOSSTDerivedOK (CVE-2023-28484) libxml2 Hashing of empty dict strings isn't deterministic. When hashing empty strings which aren't null-terminated, xmlDictComputeFastKey could produce inconsistent results. This could lead to various logic or memory errors, including double frees. (CVE-2023-29469)

ALAS2-2023-2021


Amazon Linux 2 Security Advisory: ALAS-2023-2021
Advisory Release Date: 2023-04-27 18:36 Pacific
Advisory Updated Date: 2023-05-02 19:18 Pacific
Severity: Medium

Issue Overview:

A NULL pointer dereference exists when parsing (invalid) XML schemas in libxml2 xmlSchemaCheckCOSSTDerivedOK (CVE-2023-28484)

libxml2 Hashing of empty dict strings isn't deterministic. When hashing empty strings which aren't null-terminated, xmlDictComputeFastKey could produce inconsistent results. This could lead to various logic or memory errors, including double frees. (CVE-2023-29469)


Affected Packages:

libxml2


Issue Correction:
Run yum update libxml2 to update your system.

New Packages:
aarch64:
    libxml2-2.9.1-6.amzn2.5.8.aarch64
    libxml2-devel-2.9.1-6.amzn2.5.8.aarch64
    libxml2-static-2.9.1-6.amzn2.5.8.aarch64
    libxml2-python-2.9.1-6.amzn2.5.8.aarch64
    libxml2-debuginfo-2.9.1-6.amzn2.5.8.aarch64

i686:
    libxml2-2.9.1-6.amzn2.5.8.i686
    libxml2-devel-2.9.1-6.amzn2.5.8.i686
    libxml2-static-2.9.1-6.amzn2.5.8.i686
    libxml2-python-2.9.1-6.amzn2.5.8.i686
    libxml2-debuginfo-2.9.1-6.amzn2.5.8.i686

src:
    libxml2-2.9.1-6.amzn2.5.8.src

x86_64:
    libxml2-2.9.1-6.amzn2.5.8.x86_64
    libxml2-devel-2.9.1-6.amzn2.5.8.x86_64
    libxml2-static-2.9.1-6.amzn2.5.8.x86_64
    libxml2-python-2.9.1-6.amzn2.5.8.x86_64
    libxml2-debuginfo-2.9.1-6.amzn2.5.8.x86_64