CVE-2013-0340

NameCVE-2013-0340
Descriptionexpat 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)stretch (security), stretch2.2.0-2+deb9u3vulnerable
buster, buster (security)2.2.6-2+deb10u1vulnerable
bullseye2.2.10-2vulnerable
bookworm, sid2.4.1-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsourceexperimental2.4.1-1
expatsource(unstable)(unfixed)unimportant

Notes

Expat provides API to mitigate expansion attacks, ultimately under control of the app using Expat
https://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-0340.html

Search for package or bug name: Reporting problems