OESA-2022-1490

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1490
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1490.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1490
Upstream
Published
2022-01-18T11:03:27Z
Modified
2025-08-12T05:10:53.630420Z
Summary
expat security update
Details

An XML parser library.

Security Fix(es):

In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).(CVE-2021-45960)

lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22825)

storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22827)

addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22822)

nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22826)

build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22823)

defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22824)

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.(CVE-2021-46143)

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

Affected packages

openEuler:20.03-LTS-SP1 / expat

Package

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

Affected ranges

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

Ecosystem specific

{
    "src": [
        "expat-2.2.9-4.oe1.src.rpm"
    ],
    "x86_64": [
        "expat-debuginfo-2.2.9-4.oe1.x86_64.rpm",
        "expat-devel-2.2.9-4.oe1.x86_64.rpm",
        "expat-2.2.9-4.oe1.x86_64.rpm",
        "expat-debugsource-2.2.9-4.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "expat-debuginfo-2.2.9-4.oe1.aarch64.rpm",
        "expat-debugsource-2.2.9-4.oe1.aarch64.rpm",
        "expat-devel-2.2.9-4.oe1.aarch64.rpm",
        "expat-2.2.9-4.oe1.aarch64.rpm"
    ],
    "noarch": [
        "expat-help-2.2.9-4.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / expat

Package

Name
expat
Purl
pkg:rpm/openEuler/expat&distro=openEuler-20.03-LTS-SP2

Affected ranges

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

Ecosystem specific

{
    "src": [
        "expat-2.2.9-4.oe1.src.rpm"
    ],
    "x86_64": [
        "expat-2.2.9-4.oe1.x86_64.rpm",
        "expat-debugsource-2.2.9-4.oe1.x86_64.rpm",
        "expat-debuginfo-2.2.9-4.oe1.x86_64.rpm",
        "expat-devel-2.2.9-4.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "expat-2.2.9-4.oe1.aarch64.rpm",
        "expat-debuginfo-2.2.9-4.oe1.aarch64.rpm",
        "expat-debugsource-2.2.9-4.oe1.aarch64.rpm",
        "expat-devel-2.2.9-4.oe1.aarch64.rpm"
    ],
    "noarch": [
        "expat-help-2.2.9-4.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / expat

Package

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

Affected ranges

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

Ecosystem specific

{
    "src": [
        "expat-2.2.9-4.oe1.src.rpm"
    ],
    "x86_64": [
        "expat-debugsource-2.2.9-4.oe1.x86_64.rpm",
        "expat-devel-2.2.9-4.oe1.x86_64.rpm",
        "expat-debuginfo-2.2.9-4.oe1.x86_64.rpm",
        "expat-2.2.9-4.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "expat-debugsource-2.2.9-4.oe1.aarch64.rpm",
        "expat-2.2.9-4.oe1.aarch64.rpm",
        "expat-debuginfo-2.2.9-4.oe1.aarch64.rpm",
        "expat-devel-2.2.9-4.oe1.aarch64.rpm"
    ],
    "noarch": [
        "expat-help-2.2.9-4.oe1.noarch.rpm"
    ]
}