QID 355281

Date Published: 2023-05-29

QID 355281: Amazon Linux Security Advisory for expat : ALAS2023-2023-058

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). (
( CVE-2021-45960) in doprolog in xmlparse.c in expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupsize. (
( CVE-2021-46143) addbinding in xmlparse.c in expat (aka libexpat) before 2.4.3 has an integer overflow. (
( CVE-2022-22822) build_model in xmlparse.c in expat (aka libexpat) before 2.4.3 has an integer overflow. (
( CVE-2022-22823) defineattribute in xmlparse.c in expat (aka libexpat) before 2.4.3 has an integer overflow. (
( CVE-2022-22824) lookup in xmlparse.c in expat (aka libexpat) before 2.4.3 has an integer overflow. (
( CVE-2022-22825) nextscaffoldpart in xmlparse.c in expat (aka libexpat) before 2.4.3 has an integer overflow. (
( CVE-2022-22826) storeatts in xmlparse.c in expat (aka libexpat) before 2.4.3 has an integer overflow. (
( CVE-2022-22827) expat (libexpat) is susceptible to a software flaw that causes process interruption.
When processing a large number of prefixed xml attributes on a single tag can libexpat can terminate unexpectedly due to integer overflow.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 9 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-058 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-058 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-058.html