ALAS2-2020-1534

Related Vulnerabilities: CVE-2019-19956   CVE-2019-20388   CVE-2020-7595  

xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs. (CVE-2019-19956) A memory leak was found in the xmlSchemaValidateStream function of libxml2. Applications that use this library may be vulnerable to memory not being freed leading to a denial of service. System availability is the highest threat from this vulnerability. (CVE-2019-20388) xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation. (CVE-2020-7595)

ALAS2-2020-1534


Amazon Linux 2 Security Advisory: ALAS-2020-1534
Advisory Release Date: 2020-10-22 18:25 Pacific
Advisory Updated Date: 2020-10-22 22:35 Pacific
Severity: Medium

Issue Overview:

xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs. (CVE-2019-19956)

A memory leak was found in the xmlSchemaValidateStream function of libxml2. Applications that use this library may be vulnerable to memory not being freed leading to a denial of service. System availability is the highest threat from this vulnerability. (CVE-2019-20388)

xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation. (CVE-2020-7595)


Affected Packages:

libxml2


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

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

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

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

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