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
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report