ALAS2-2022-1759

Related Vulnerabilities: CVE-2022-25315  

An integer overflow was found in expat. The issue occurs in storeRawNames() by abusing the m_buffer expansion logic to allow allocations very close to INT_MAX and out-of-bounds heap writes. This flaw can cause a denial of service or potentially arbitrary code execution. (CVE-2022-25315)

ALAS2-2022-1759


Amazon Linux 2 Security Advisory: ALAS-2022-1759
Advisory Release Date: 2022-03-07 23:31 Pacific
Advisory Updated Date: 2022-03-08 18:12 Pacific
Severity: Important
References: CVE-2022-25315 

Issue Overview:

An integer overflow was found in expat. The issue occurs in storeRawNames() by abusing the m_buffer expansion logic to allow allocations very close to INT_MAX and out-of-bounds heap writes. This flaw can cause a denial of service or potentially arbitrary code execution. (CVE-2022-25315)


Affected Packages:

expat


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

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

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

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

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