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 severity
Important
CVSS v3 Base Score
9.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 expat 2022-03-07 ALAS-2022-1570 Fixed
Amazon Linux 2 - Core expat 2022-03-07 ALAS2-2022-1759 Fixed
Amazon Linux 2023 expat 2023-02-17 ALAS2023-2023-058 Fixed
Amazon Linux 2 - Core thunderbird 2022-03-07 ALAS2-2022-1759 Fixed
Amazon Linux 2 - Core thunderbird 2022-04-25 ALAS2-2022-1779 Fixed

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