CVE-2022-25315

Public on 2022-02-18
Modified on 2023-01-18
Description

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.

Severity
Important
See what this means
CVSS v3 Base Score
9.8
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 1 expat 2022-03-08 ALAS-2022-1570
Amazon Linux 2 - Core expat 2022-03-08 ALAS2-2022-1759
Amazon Linux 2023 expat 2023-03-22 ALAS2023-2023-058
Amazon Linux 2 - Core thunderbird 2022-04-27 ALAS2-2022-1779
Amazon Linux 2 - Core thunderbird 2022-03-08 ALAS2-2022-1759

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
NVD CVSSv3 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H