-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYNtL/tzjgjWX9erEAQjxLQ//duZKcJ7TaO142GBhdCisTgMiWdghVM2n
93ZhsbPte2fkXeQW+j1G2YEz8qnh4vaxRq6xmn3pQvZJzRXw57QeFDyqQzLhrQd6
evpeV+47zit/N0dzpAyf1aeAf9UJVE9wsTrTJjdxF5NO3t5/qT58X12Zq6Hm8zH5
GKlPCsvfRwpwOGPLv+pYPthmzZ6H3SGf0gJ3ey1qpXwzb8WAMYVQPQDJYkx4L/DE
oXreSceOUzKp3o1enIHVdgY/9DQ7JyRfEfDL6YjBYuevzU7mTPzP1HJYQx1nXchA
umxej3cJepMKSMJoClehfK4lhx3ydthR/o63f5sXIucNDXwmdloWxsICb+xEh79+
WoaMO3ahn0clLidnOqawNkyJJyLYEb5EespRXbUbD6vQV2eShUfLlaad4MhEDn5m
RAultWI5tFGfmaF4qbhF+mXayX8Tff7+BM0xXj03+93s5mTxMeMCiVHmAxMAyUME
XmLEU+0wE/QP4yQisS6qhav+3I3GdB5r+OH4zbs6W4YrXLCeVm01wbLuusDDi+DC
nBrzZiHnWf/QO1A6BG/Lb84vPQ9brLwuA0xgbuWnqrt8ecLVVN9PKYJ9iyGrrALB
8v6vfHy9kb6THRAfv0CLwEOCIZ1i/BfYkrWOqRK0sKyWiu/uQ8l04sspWrtgbADk
M8gXu8nL798=
=QACc
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/rhsa-announce