Bugzilla – Bug 1204366
VUL-0: CVE-2022-40303: libxml2: Fix integer overflows with XML_PARSE_HUGE
Last modified: 2023-04-06 15:31:31 UTC
Fix integer overflows with XML_PARSE_HUGE Also impose size limits when XML_PARSE_HUGE is set. Limit size of names to XML_MAX_TEXT_LENGTH (10 million bytes) and other content to XML_MAX_HUGE_LENGTH (1 billion bytes). Move some the length checks to the end of the respective loop to make them strict. xmlParseEntityValue didn't have a length limitation at all. But without XML_PARSE_HUGE, this should eventually trigger an error in xmlGROW. Thanks to Maddie Stone working with Google Project Zero for the report! https://gitlab.gnome.org/GNOME/libxml2/-/commit/ffaec75809a315457891a0e54f8828bc6e056067
tracking as affected: - SUSE:SLE-12-SP2:Update/libxml2 - SUSE:SLE-15:Update/libxml2 - SUSE:SLE-15-SP4:Update/libxml2
All done. Sending back to security.
This is an autogenerated message for OBS integration: This bug (1204366) was mentioned in https://build.opensuse.org/request/show/1014116 Factory / libxml2
SUSE-SU-2022:3692-1: An update that fixes two vulnerabilities is now available. Category: security (important) Bug References: 1204366,1204367 CVE References: CVE-2022-40303,CVE-2022-40304 JIRA References: Sources used: openSUSE Leap 15.4 (src): libxml2-2.9.14-150400.5.10.1, libxml2-python-2.9.14-150400.5.10.1 SUSE Linux Enterprise Module for Basesystem 15-SP4 (src): libxml2-2.9.14-150400.5.10.1, libxml2-python-2.9.14-150400.5.10.1 SUSE Linux Enterprise Micro 5.3 (src): libxml2-2.9.14-150400.5.10.1, libxml2-python-2.9.14-150400.5.10.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:3717-1: An update that fixes three vulnerabilities is now available. Category: security (important) Bug References: 1201978,1204366,1204367 CVE References: CVE-2016-3709,CVE-2022-40303,CVE-2022-40304 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 9 (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 SUSE OpenStack Cloud 9 (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 SUSE Linux Enterprise Software Development Kit 12-SP5 (src): libxml2-2.9.4-46.59.2 SUSE Linux Enterprise Server for SAP 12-SP4 (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 SUSE Linux Enterprise Server 12-SP5 (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 SUSE Linux Enterprise Server 12-SP4-LTSS (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 SUSE Linux Enterprise Server 12-SP3-BCL (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 SUSE Linux Enterprise Server 12-SP2-BCL (src): libxml2-2.9.4-46.59.2, python-libxml2-2.9.4-46.59.3 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:3871-1: An update that fixes three vulnerabilities is now available. Category: security (important) Bug References: 1201978,1204366,1204367 CVE References: CVE-2016-3709,CVE-2022-40303,CVE-2022-40304 JIRA References: Sources used: openSUSE Leap Micro 5.2 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 openSUSE Leap 15.4 (src): python-libxml2-python-2.9.7-150000.3.51.1 openSUSE Leap 15.3 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Manager Server 4.1 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Manager Retail Branch Server 4.1 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Manager Proxy 4.1 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server for SAP 15-SP2 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server for SAP 15-SP1 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server for SAP 15 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server 15-SP2-LTSS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server 15-SP2-BCL (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server 15-SP1-LTSS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server 15-SP1-BCL (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Server 15-LTSS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Module for Python2 15-SP3 (src): python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Micro 5.2 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise Micro 5.1 (src): libxml2-2.9.7-150000.3.51.1 SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise High Performance Computing 15-LTSS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Linux Enterprise High Performance Computing 15-ESPOS (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Enterprise Storage 7 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE Enterprise Storage 6 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 SUSE CaaS Platform 4.0 (src): libxml2-2.9.7-150000.3.51.1, python-libxml2-python-2.9.7-150000.3.51.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.