OESA-2024-1413

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1413
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1413.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-1413
Upstream
Published
2024-04-12T11:07:39Z
Modified
2025-08-12T05:36:22.131303Z
Summary
libxml2 security update
Details

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)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / libxml2

Package

Name
libxml2
Purl
pkg:rpm/openEuler/libxml2&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10-38.oe1

Ecosystem specific

{
    "aarch64": [
        "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"
    ],
    "noarch": [
        "libxml2-help-2.9.10-38.oe1.noarch.rpm"
    ],
    "x86_64": [
        "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"
    ],
    "src": [
        "libxml2-2.9.10-38.oe1.src.rpm"
    ]
}