ALAS2-2022-1788


Amazon Linux 2 Security Advisory: ALAS-2022-1788
Advisory Release Date: 2022-04-25 22:58 Pacific
Advisory Updated Date: 2022-04-27 16:35 Pacific
Severity: Medium

Issue Overview:

In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory). (CVE-2021-45960)


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.4.aarch64
    expat-devel-2.1.0-12.amzn2.0.4.aarch64
    expat-static-2.1.0-12.amzn2.0.4.aarch64
    expat-debuginfo-2.1.0-12.amzn2.0.4.aarch64

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

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

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