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) | jessie, jessie (lts) | 2.1.0-6+deb8u12 | vulnerable |
stretch (security) | 2.2.0-2+deb9u5 | vulnerable | |
stretch (lts), stretch | 2.2.0-2+deb9u9 | vulnerable | |
buster, buster (lts) | 2.2.6-2+deb10u8 | vulnerable | |
buster (security) | 2.2.6-2+deb10u7 | vulnerable | |
bullseye | 2.2.10-2+deb11u5 | vulnerable | |
bullseye (security) | 2.2.10-2+deb11u6 | vulnerable | |
bookworm | 2.5.0-1 | fixed | |
bookworm (security) | 2.5.0-1+deb12u1 | fixed | |
sid, trixie | 2.6.3-2 | fixed |
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 |
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