Name | CVE-2015-0250 |
Description | XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion classes in Apache Batik 1.x before 1.8 allows remote attackers to read arbitrary files or cause a denial of service via a crafted SVG file. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-182-1, DSA-3205-1 |
Debian Bugs | 780897 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
batik (PTS) | jessie, jessie (lts) | 1.7+dfsg-5+deb8u4 | fixed |
| stretch (security) | 1.8-4+deb9u1 | fixed |
| stretch (lts), stretch | 1.8-4+deb9u4 | fixed |
| buster (security), buster, buster (lts) | 1.10-2+deb10u3 | fixed |
| bullseye | 1.12-4+deb11u2 | fixed |
| bullseye (security) | 1.12-4+deb11u1 | fixed |
| bookworm | 1.16+dfsg-1+deb12u1 | fixed |
| sid, trixie | 1.18+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://issues.apache.org/jira/browse/BATIK-1018
https://issues.apache.org/jira/browse/BATIK-1113
Commit disabling external xml entities: https://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/dom/util/SAXDocumentFactory.java?r1=662304&r2=1664335&diff_format=h
PoC: https://www.ernw.de/download/xxe_batik.tar.xz