QID 240155

Date Published: 2022-03-21

QID 240155: Red Hat Update for expat (RHSA-2022:0951)

expat is a c library for parsing xml documents.

Security Fix(es):
  • expat: malformed 2- and 3-byte utf-8 sequences can lead to arbitrary code execution (cve-2022-25235)
  • expat: namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution (cve-2022-25236)
  • expat: integer overflow in storerawnames() (cve-2022-25315)
  • expat: large number of prefixed xml attributes on a single tag can crash libexpat (cve-2021-45960)
  • expat: integer overflow in doprolog in xmlparse.c (cve-2021-46143)
  • expat: integer overflow in addbinding in xmlparse.c (cve-2022-22822)
  • expat: integer overflow in build_model in xmlparse.c (cve-2022-22823)
  • expat: integer overflow in defineattribute in xmlparse.c (cve-2022-22824)
  • expat: integer overflow in lookup in xmlparse.c (cve-2022-22825)
  • expat: integer overflow in nextscaffoldpart in xmlparse.c (cve-2022-22826)
  • expat: integer overflow in storeatts in xmlparse.c (cve-2022-22827)
  • expat: integer overflow in function xml_getbuffer (cve-2022-23852)

Affected Products:

  • Red Hat enterprise linux for x86_64 8 x86_64
  • Red Hat enterprise linux for ibm z systems 8 s390x
  • Red Hat enterprise linux for power, little endian 8 ppc64le
  • Red Hat enterprise linux for arm 64 8 aarch64



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 security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 9 severity.
  • Solution
    Refer to Red Hat security advisory RHSA-2022:0951 for updates and patch information.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    RHSA-2022:0951 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2022:0951