RedHat: RHSA-2021-2569:01 Moderate: libxml2 security update
Summary
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.
Summary
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.
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
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/
Topic
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 impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.
Topic
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
Bugs Fixed
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