An update for libxml2 is now available for openEuler-22.03-LTS Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2022-2082 Final 1.0 1.0 2022-11-11 Initial 2022-11-11 2022-11-11 openEuler SA Tool V1.0 2022-11-11 libxml2 security update An update for libxml2 is now available for openEuler-22.03-LTS. This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library. Security Fix(es): valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.(CVE-2022-23308) A flaw was found in libxml2. Parsing a XML document with the XML_PARSE_HUGE option enabled can result in an integer overflow because safety checks were missing in some functions. Also, the xmlParseEntityValue function didn't have any length limitation.(CVE-2022-40303) A flaw was found in libxml2. When a reference cycle is detected in the XML entity cleanup function the XML entity data can be stored in a dictionary. In this case, the dictionary becomes corrupted resulting in logic errors, including memory errors like double free.(CVE-2022-40304) An update for libxml2 is now available for openEuler-22.03-LTS. openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. High libxml2 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2082 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-23308 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-40303 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-40304 https://nvd.nist.gov/vuln/detail/CVE-2022-23308 https://nvd.nist.gov/vuln/detail/CVE-2022-40303 https://nvd.nist.gov/vuln/detail/CVE-2022-40304 openEuler-22.03-LTS libxml2-2.9.12-13.oe2203.aarch64.rpm libxml2-devel-2.9.12-13.oe2203.aarch64.rpm libxml2-debuginfo-2.9.12-13.oe2203.aarch64.rpm libxml2-debugsource-2.9.12-13.oe2203.aarch64.rpm python3-libxml2-2.9.12-13.oe2203.aarch64.rpm libxml2-help-2.9.12-13.oe2203.noarch.rpm libxml2-2.9.12-13.oe2203.src.rpm libxml2-debugsource-2.9.12-13.oe2203.x86_64.rpm libxml2-2.9.12-13.oe2203.x86_64.rpm libxml2-devel-2.9.12-13.oe2203.x86_64.rpm libxml2-debuginfo-2.9.12-13.oe2203.x86_64.rpm python3-libxml2-2.9.12-13.oe2203.x86_64.rpm valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes. 2022-11-11 CVE-2022-23308 openEuler-22.03-LTS High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H libxml2 security update 2022-11-11 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2082 A flaw was found in libxml2. Parsing a XML document with the XML_PARSE_HUGE option enabled can result in an integer overflow because safety checks were missing in some functions. Also, the xmlParseEntityValue function didn t have any length limitation. 2022-11-11 CVE-2022-40303 openEuler-22.03-LTS High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H libxml2 security update 2022-11-11 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2082 A flaw was found in libxml2. When a reference cycle is detected in the XML entity cleanup function the XML entity data can be stored in a dictionary. In this case, the dictionary becomes corrupted resulting in logic errors, including memory errors like double free. 2022-11-11 CVE-2022-40304 openEuler-22.03-LTS High 8.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H libxml2 security update 2022-11-11 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2082