Red Hat 9053 Published by

A libxml2 security update has been released for Red Hat Enterprise Linux 8.



RHSA-2021:2569-01: Moderate: libxml2 security update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: libxml2 security update
Advisory ID: RHSA-2021:2569-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2021:2569
Issue date: 2021-06-29
CVE Names: CVE-2021-3516 CVE-2021-3517 CVE-2021-3518
CVE-2021-3537 CVE-2021-3541
=====================================================================

1. Summary:

An update for libxml2 is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64

3. Description:

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)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

The desktop must be restarted (log out, then log back in) for this update
to take effect.

5. Bugs fixed (  https://bugzilla.redhat.com/):

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

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

aarch64:
libxml2-debuginfo-2.9.7-9.el8_4.2.aarch64.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.aarch64.rpm
libxml2-devel-2.9.7-9.el8_4.2.aarch64.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.aarch64.rpm

ppc64le:
libxml2-debuginfo-2.9.7-9.el8_4.2.ppc64le.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.ppc64le.rpm
libxml2-devel-2.9.7-9.el8_4.2.ppc64le.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.ppc64le.rpm

s390x:
libxml2-debuginfo-2.9.7-9.el8_4.2.s390x.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.s390x.rpm
libxml2-devel-2.9.7-9.el8_4.2.s390x.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.s390x.rpm

x86_64:
libxml2-debuginfo-2.9.7-9.el8_4.2.i686.rpm
libxml2-debuginfo-2.9.7-9.el8_4.2.x86_64.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.i686.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.x86_64.rpm
libxml2-devel-2.9.7-9.el8_4.2.i686.rpm
libxml2-devel-2.9.7-9.el8_4.2.x86_64.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.i686.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.x86_64.rpm

Red Hat Enterprise Linux BaseOS (v. 8):

Source:
libxml2-2.9.7-9.el8_4.2.src.rpm

aarch64:
libxml2-2.9.7-9.el8_4.2.aarch64.rpm
libxml2-debuginfo-2.9.7-9.el8_4.2.aarch64.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.aarch64.rpm
python3-libxml2-2.9.7-9.el8_4.2.aarch64.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.aarch64.rpm

ppc64le:
libxml2-2.9.7-9.el8_4.2.ppc64le.rpm
libxml2-debuginfo-2.9.7-9.el8_4.2.ppc64le.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.ppc64le.rpm
python3-libxml2-2.9.7-9.el8_4.2.ppc64le.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.ppc64le.rpm

s390x:
libxml2-2.9.7-9.el8_4.2.s390x.rpm
libxml2-debuginfo-2.9.7-9.el8_4.2.s390x.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.s390x.rpm
python3-libxml2-2.9.7-9.el8_4.2.s390x.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.s390x.rpm

x86_64:
libxml2-2.9.7-9.el8_4.2.i686.rpm
libxml2-2.9.7-9.el8_4.2.x86_64.rpm
libxml2-debuginfo-2.9.7-9.el8_4.2.i686.rpm
libxml2-debuginfo-2.9.7-9.el8_4.2.x86_64.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.i686.rpm
libxml2-debugsource-2.9.7-9.el8_4.2.x86_64.rpm
python3-libxml2-2.9.7-9.el8_4.2.x86_64.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.i686.rpm
python3-libxml2-debuginfo-2.9.7-9.el8_4.2.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2021-3516
  https://access.redhat.com/security/cve/CVE-2021-3517
  https://access.redhat.com/security/cve/CVE-2021-3518
  https://access.redhat.com/security/cve/CVE-2021-3537
  https://access.redhat.com/security/cve/CVE-2021-3541
  https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2021 Red Hat, Inc.