OESA-2021-1261

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

expat is a stream-oriented XML parser library written in C. expat excels with files too large to fit RAM, and where performance and flexibility are crucial.

Security Fix(es):

expat 2.1.0 and earlier does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.(CVE-2013-0340)

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

Ecosystem specific

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