CVE-2021-45960

Public on 2022-01-01
Modified on 2023-01-18
Description
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).
Severity
Medium severity
Medium
CVSS v3 Base Score
5.1
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 expat 2022-05-31 ALAS-2022-1588 Fixed
Amazon Linux 2 - Core expat 2022-04-25 ALAS2-2022-1788 Fixed
Amazon Linux 2023 expat 2023-02-17 ALAS2023-2023-058 Fixed

CVSS Scores

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