Vulnerability record · OpenEuler 20.03-LTS-SP1
An update for libxml2 is now available for openEuler-20.03-LTS-SP1.
OpenEuler 20.03-LTS-SP1
What it fixes
Synopsis:
libxml2 security updateSummary:
An update for libxml2 is now available for openEuler-20.03-LTS-SP1.Description:
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.
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)Topic:
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.Severity:
HighAffected Component:
libxml2
Manual fix · OpenEuler 20.03-LTS-SP1
sudo dnf upgrade libxml2 libxml2-devel libxml2-help python2-libxml2 python3-libxml2rpm -q libxml2 libxml2-devel libxml2-help python2-libxml2 python3-libxml2Sources