ALAS2022-2022-036

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)

ALAS2022-2022-036


Amazon Linux 2022 Security Advisory: ALAS-2022-036
Advisory Release Date: 2022-03-07 23:57 Pacific
Advisory Updated Date: 2022-03-08 17:50 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 dnf update --releasever=2022.0.20220308 expat to update your system.

New Packages:
aarch64:
    expat-debuginfo-2.4.6-1.amzn2022.aarch64
    expat-debugsource-2.4.6-1.amzn2022.aarch64
    expat-static-2.4.6-1.amzn2022.aarch64
    expat-2.4.6-1.amzn2022.aarch64
    expat-devel-2.4.6-1.amzn2022.aarch64

i686:
    expat-debugsource-2.4.6-1.amzn2022.i686
    expat-debuginfo-2.4.6-1.amzn2022.i686
    expat-2.4.6-1.amzn2022.i686
    expat-static-2.4.6-1.amzn2022.i686
    expat-devel-2.4.6-1.amzn2022.i686

src:
    expat-2.4.6-1.amzn2022.src

x86_64:
    expat-debuginfo-2.4.6-1.amzn2022.x86_64
    expat-debugsource-2.4.6-1.amzn2022.x86_64
    expat-devel-2.4.6-1.amzn2022.x86_64
    expat-2.4.6-1.amzn2022.x86_64
    expat-static-2.4.6-1.amzn2022.x86_64