QID 239468

Date Published: 2021-07-07

QID 239468: Red Hat Update for libxml2 (RHSA-2021:2569)

The libxml2 library is a development toolbox providing the implementation of various XML standards.

Security Fix(es): libxml2: Use-after-free in xmlEncodeEntitiesInternal()
in entities.c (CVE-2021-3516) libxml2: Heap-based buffer overflow in xmlEncodeEntitiesInternal()
in entities.c (CVE-2021-3517) libxml2: Use-after-free in xmlXIncludeDoProcess()
in xinclude.c (CVE-2021-3518) libxml2: NULL pointer dereference when post-validating mixed content parsed in recovery mode (CVE-2021-3537) libxml2: Exponential entity expansion attack bypasses all existing protection mechanisms (CVE-2021-3541)

Affected Products:

Red Hat Enterprise Linux for x86_64 8 x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support 8.4 x86_64
Red Hat Enterprise Linux Server - AUS 8.4 x86_64
Red Hat Enterprise Linux for IBM z Systems 8 s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 8.4 s390x
Red Hat Enterprise Linux for Power, little endian 8 ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 8.4 ppc64le
Red Hat Enterprise Linux Server - TUS 8.4 x86_64
Red Hat Enterprise Linux for ARM 64 8 aarch64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support 8.4 aarch64
Red Hat Enterprise Linux Server (for IBM Power LE) - Update Services for SAP Solutions 8.4 ppc64le
Red Hat Enterprise Linux Server - Update Services for SAP Solutions 8.4 x86_64

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.

On successful exploitation, it could allow an attacker to execute code.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Upgrade to the latest packages which contain a patch. Refer to Applying Package Updates to RHEL system for details.

    Refer to Red Hat security advisory RHSA-2021:2569 to address this issue and obtain more information.

    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    RHSA-2021:2569 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2021:2569?language=en