ALAS2-2022-1764


Amazon Linux 2 Security Advisory: ALAS-2022-1764
Advisory Release Date: 2022-03-09 22:13 Pacific
Advisory Updated Date: 2022-03-10 17:37 Pacific
Severity: Critical

Issue Overview:

A flaw was found in expat. Passing malformed 2- and 3-byte UTF-8 sequences (for example, from start tag names) to the XML processing application on top of expat can lead to arbitrary code execution. This issue is dependent on how invalid UTF-8 is handled inside the XML processor. (CVE-2022-25235)

A flaw was found in expat. Passing one or more namespace separator characters in the "xmlns[:prefix]" attribute values made expat send malformed tag names to the XML processor on top of expat. This issue causes arbitrary code execution depending on how unexpected cases are handled inside the XML processor. (CVE-2022-25236)


Affected Packages:

expat


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


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

New Packages:
aarch64:
    expat-2.1.0-12.amzn2.0.3.aarch64
    expat-devel-2.1.0-12.amzn2.0.3.aarch64
    expat-static-2.1.0-12.amzn2.0.3.aarch64
    expat-debuginfo-2.1.0-12.amzn2.0.3.aarch64

i686:
    expat-2.1.0-12.amzn2.0.3.i686
    expat-devel-2.1.0-12.amzn2.0.3.i686
    expat-static-2.1.0-12.amzn2.0.3.i686
    expat-debuginfo-2.1.0-12.amzn2.0.3.i686

src:
    expat-2.1.0-12.amzn2.0.3.src

x86_64:
    expat-2.1.0-12.amzn2.0.3.x86_64
    expat-devel-2.1.0-12.amzn2.0.3.x86_64
    expat-static-2.1.0-12.amzn2.0.3.x86_64
    expat-debuginfo-2.1.0-12.amzn2.0.3.x86_64