An update for libxml2 is now available for openEuler-20.03-LTS-SP1
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2024-1413
Final
1.0
1.0
2024-04-12
Initial
2024-04-12
2024-04-12
openEuler SA Tool V1.0
2024-04-12
libxml2 security update
An update for libxml2 is now available for openEuler-20.03-LTS-SP1.
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):
NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.(CVE-2022-2309)
An update for libxml2 is now available for openEuler-20.03-LTS-SP1.
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-2024-1413
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-2309
https://nvd.nist.gov/vuln/detail/CVE-2022-2309
openEuler-20.03-LTS-SP1
libxml2-debuginfo-2.9.10-38.oe1.aarch64.rpm
libxml2-debugsource-2.9.10-38.oe1.aarch64.rpm
libxml2-devel-2.9.10-38.oe1.aarch64.rpm
python3-libxml2-2.9.10-38.oe1.aarch64.rpm
python2-libxml2-2.9.10-38.oe1.aarch64.rpm
libxml2-2.9.10-38.oe1.aarch64.rpm
libxml2-help-2.9.10-38.oe1.noarch.rpm
libxml2-2.9.10-38.oe1.src.rpm
python2-libxml2-2.9.10-38.oe1.x86_64.rpm
libxml2-devel-2.9.10-38.oe1.x86_64.rpm
python3-libxml2-2.9.10-38.oe1.x86_64.rpm
libxml2-debugsource-2.9.10-38.oe1.x86_64.rpm
libxml2-2.9.10-38.oe1.x86_64.rpm
libxml2-debuginfo-2.9.10-38.oe1.x86_64.rpm
NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn t be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.
2024-04-12
CVE-2022-2309
openEuler-20.03-LTS-SP1
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
libxml2 security update
2024-04-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1413