QID 353198

Date Published: 2022-03-16

QID 353198: Amazon Linux Security Advisory for expat : ALAS-2022-1573

A flaw was found in expat.
Passing malformed 2- and 3-byte utf-8 sequences (for example, from start tag names) to the xml processing application on top of expat can lead to arbitrary code execution.
This issue is dependent on how invalid utf-8 is handled inside the xml processor. (
( CVE-2022-25235) a flaw was found in expat.
Passing one or more namespace separator characters in the "xmlns[:prefix]" attribute values made expat send malformed tag names to the xml processor on top of expat.
This issue causes arbitrary code execution depending on how unexpected cases are handled inside the xml processor. (
( CVE-2022-25236)



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 High - 7.5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2022-1573 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 353198

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2022-1573 Amazon Linux URL Logo alas.aws.amazon.com/ALAS-2022-1573.html