Name | CVE-2013-0340 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1001864 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
expat (PTS) | bullseye | 2.2.10-2+deb11u5 | vulnerable |
bullseye (security) | 2.2.10-2+deb11u7 | vulnerable | |
bookworm, bookworm (security) | 2.5.0-1+deb12u1 | fixed | |
trixie, sid | 2.7.1-1 | fixed | |
libxmltok (PTS) | bookworm, bullseye | 1.2-4 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
expat | source | experimental | 2.4.1-1 | |||
expat | source | (unstable) | 2.4.1-2 | unimportant | 1001864 | |
libxmltok | source | (unstable) | (unfixed) |
[bookworm] - libxmltok <ignored> (Minor issue, no runtime dependencies left)
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
Fixed by: https://github.com/libexpat/libexpat/pull/466
Followup: https://github.com/libexpat/libexpat/pull/484