QID 354360

Date Published: 2022-12-21

QID 354360: Amazon Linux Security Advisory for expat : ALAS2022-2022-017

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

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: ALAS2022-2022-017 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2022-017 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2022-017.html