Red Hat 9042 Published by

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



RHSA-2023:0338-01: Moderate: libxml2 security update



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

Synopsis: Moderate: libxml2 security update
Advisory ID: RHSA-2023:0338-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2023:0338
Issue date: 2023-01-23
CVE Names: CVE-2022-40303 CVE-2022-40304
=====================================================================

1. Summary:

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

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. 9) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux BaseOS (v. 9) - 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: integer overflows with XML_PARSE_HUGE (CVE-2022-40303)

* libxml2: dict corruption caused by entity reference cycles
(CVE-2022-40304)

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/):

2136266 - CVE-2022-40303 libxml2: integer overflows with XML_PARSE_HUGE
2136288 - CVE-2022-40304 libxml2: dict corruption caused by entity reference cycles

6. Package List:

Red Hat Enterprise Linux AppStream (v. 9):

aarch64:
libxml2-debuginfo-2.9.13-3.el9_1.aarch64.rpm
libxml2-debugsource-2.9.13-3.el9_1.aarch64.rpm
libxml2-devel-2.9.13-3.el9_1.aarch64.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.aarch64.rpm

ppc64le:
libxml2-debuginfo-2.9.13-3.el9_1.ppc64le.rpm
libxml2-debugsource-2.9.13-3.el9_1.ppc64le.rpm
libxml2-devel-2.9.13-3.el9_1.ppc64le.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.ppc64le.rpm

s390x:
libxml2-debuginfo-2.9.13-3.el9_1.s390x.rpm
libxml2-debugsource-2.9.13-3.el9_1.s390x.rpm
libxml2-devel-2.9.13-3.el9_1.s390x.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.s390x.rpm

x86_64:
libxml2-debuginfo-2.9.13-3.el9_1.i686.rpm
libxml2-debuginfo-2.9.13-3.el9_1.x86_64.rpm
libxml2-debugsource-2.9.13-3.el9_1.i686.rpm
libxml2-debugsource-2.9.13-3.el9_1.x86_64.rpm
libxml2-devel-2.9.13-3.el9_1.i686.rpm
libxml2-devel-2.9.13-3.el9_1.x86_64.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.i686.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.x86_64.rpm

Red Hat Enterprise Linux BaseOS (v. 9):

Source:
libxml2-2.9.13-3.el9_1.src.rpm

aarch64:
libxml2-2.9.13-3.el9_1.aarch64.rpm
libxml2-debuginfo-2.9.13-3.el9_1.aarch64.rpm
libxml2-debugsource-2.9.13-3.el9_1.aarch64.rpm
python3-libxml2-2.9.13-3.el9_1.aarch64.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.aarch64.rpm

ppc64le:
libxml2-2.9.13-3.el9_1.ppc64le.rpm
libxml2-debuginfo-2.9.13-3.el9_1.ppc64le.rpm
libxml2-debugsource-2.9.13-3.el9_1.ppc64le.rpm
python3-libxml2-2.9.13-3.el9_1.ppc64le.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.ppc64le.rpm

s390x:
libxml2-2.9.13-3.el9_1.s390x.rpm
libxml2-debuginfo-2.9.13-3.el9_1.s390x.rpm
libxml2-debugsource-2.9.13-3.el9_1.s390x.rpm
python3-libxml2-2.9.13-3.el9_1.s390x.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.s390x.rpm

x86_64:
libxml2-2.9.13-3.el9_1.i686.rpm
libxml2-2.9.13-3.el9_1.x86_64.rpm
libxml2-debuginfo-2.9.13-3.el9_1.i686.rpm
libxml2-debuginfo-2.9.13-3.el9_1.x86_64.rpm
libxml2-debugsource-2.9.13-3.el9_1.i686.rpm
libxml2-debugsource-2.9.13-3.el9_1.x86_64.rpm
python3-libxml2-2.9.13-3.el9_1.x86_64.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.i686.rpm
python3-libxml2-debuginfo-2.9.13-3.el9_1.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-2022-40303
  https://access.redhat.com/security/cve/CVE-2022-40304
  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 2023 Red Hat, Inc.