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