OESA-2023-1262

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1262
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1262.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1262
Upstream
Published
2023-04-28T11:05:13Z
Modified
2025-08-12T05:19:20.994382Z
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):

In libxml2 before 2.10.4, parsing of certain invalid XSD schemas can lead to a NULL pointer dereference and subsequently a segfault. This occurs in xmlSchemaFixupComplexType in xmlschemas.c.(CVE-2023-28484)

An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).(CVE-2023-29469)

Database specific
{
    "severity": "Medium"
}
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-34.oe1

Ecosystem specific

{
    "x86_64": [
        "libxml2-debuginfo-2.9.10-34.oe1.x86_64.rpm",
        "libxml2-2.9.10-34.oe1.x86_64.rpm",
        "python3-libxml2-2.9.10-34.oe1.x86_64.rpm",
        "python2-libxml2-2.9.10-34.oe1.x86_64.rpm",
        "libxml2-debugsource-2.9.10-34.oe1.x86_64.rpm",
        "libxml2-devel-2.9.10-34.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "libxml2-debugsource-2.9.10-34.oe1.aarch64.rpm",
        "python3-libxml2-2.9.10-34.oe1.aarch64.rpm",
        "python2-libxml2-2.9.10-34.oe1.aarch64.rpm",
        "libxml2-debuginfo-2.9.10-34.oe1.aarch64.rpm",
        "libxml2-devel-2.9.10-34.oe1.aarch64.rpm",
        "libxml2-2.9.10-34.oe1.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.10-34.oe1.noarch.rpm"
    ],
    "src": [
        "libxml2-2.9.10-34.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / libxml2

Package

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

Affected ranges

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

Ecosystem specific

{
    "x86_64": [
        "libxml2-2.9.10-36.oe1.x86_64.rpm",
        "libxml2-debugsource-2.9.10-36.oe1.x86_64.rpm",
        "python3-libxml2-2.9.10-36.oe1.x86_64.rpm",
        "libxml2-debuginfo-2.9.10-36.oe1.x86_64.rpm",
        "python2-libxml2-2.9.10-36.oe1.x86_64.rpm",
        "libxml2-devel-2.9.10-36.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "libxml2-debuginfo-2.9.10-36.oe1.aarch64.rpm",
        "libxml2-2.9.10-36.oe1.aarch64.rpm",
        "libxml2-debugsource-2.9.10-36.oe1.aarch64.rpm",
        "python2-libxml2-2.9.10-36.oe1.aarch64.rpm",
        "libxml2-devel-2.9.10-36.oe1.aarch64.rpm",
        "python3-libxml2-2.9.10-36.oe1.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.10-36.oe1.noarch.rpm"
    ],
    "src": [
        "libxml2-2.9.10-36.oe1.src.rpm"
    ]
}

openEuler:22.03-LTS / libxml2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.14-5.oe2203sp1

Ecosystem specific

{
    "x86_64": [
        "libxml2-debuginfo-2.9.12-16.oe2203.x86_64.rpm",
        "python3-libxml2-2.9.12-16.oe2203.x86_64.rpm",
        "libxml2-devel-2.9.12-16.oe2203.x86_64.rpm",
        "libxml2-debugsource-2.9.12-16.oe2203.x86_64.rpm",
        "libxml2-2.9.12-16.oe2203.x86_64.rpm",
        "libxml2-devel-2.9.14-5.oe2203sp1.x86_64.rpm",
        "python3-libxml2-2.9.14-5.oe2203sp1.x86_64.rpm",
        "libxml2-debugsource-2.9.14-5.oe2203sp1.x86_64.rpm",
        "libxml2-debuginfo-2.9.14-5.oe2203sp1.x86_64.rpm",
        "libxml2-2.9.14-5.oe2203sp1.x86_64.rpm"
    ],
    "aarch64": [
        "libxml2-debugsource-2.9.12-16.oe2203.aarch64.rpm",
        "libxml2-2.9.12-16.oe2203.aarch64.rpm",
        "libxml2-devel-2.9.12-16.oe2203.aarch64.rpm",
        "libxml2-debuginfo-2.9.12-16.oe2203.aarch64.rpm",
        "python3-libxml2-2.9.12-16.oe2203.aarch64.rpm",
        "libxml2-debuginfo-2.9.14-5.oe2203sp1.aarch64.rpm",
        "libxml2-devel-2.9.14-5.oe2203sp1.aarch64.rpm",
        "python3-libxml2-2.9.14-5.oe2203sp1.aarch64.rpm",
        "libxml2-debugsource-2.9.14-5.oe2203sp1.aarch64.rpm",
        "libxml2-2.9.14-5.oe2203sp1.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.12-16.oe2203.noarch.rpm",
        "libxml2-help-2.9.14-5.oe2203sp1.noarch.rpm"
    ],
    "src": [
        "libxml2-2.9.12-16.oe2203.src.rpm",
        "libxml2-2.9.14-5.oe2203sp1.src.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / libxml2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.14-5.oe2203sp1

Ecosystem specific

{
    "x86_64": [
        "libxml2-devel-2.9.14-5.oe2203sp1.x86_64.rpm",
        "python3-libxml2-2.9.14-5.oe2203sp1.x86_64.rpm",
        "libxml2-debugsource-2.9.14-5.oe2203sp1.x86_64.rpm",
        "libxml2-debuginfo-2.9.14-5.oe2203sp1.x86_64.rpm",
        "libxml2-2.9.14-5.oe2203sp1.x86_64.rpm"
    ],
    "aarch64": [
        "libxml2-debuginfo-2.9.14-5.oe2203sp1.aarch64.rpm",
        "libxml2-devel-2.9.14-5.oe2203sp1.aarch64.rpm",
        "python3-libxml2-2.9.14-5.oe2203sp1.aarch64.rpm",
        "libxml2-debugsource-2.9.14-5.oe2203sp1.aarch64.rpm",
        "libxml2-2.9.14-5.oe2203sp1.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.14-5.oe2203sp1.noarch.rpm"
    ],
    "src": [
        "libxml2-2.9.14-5.oe2203sp1.src.rpm"
    ]
}