CVE-2018-8013 in the critical feed json
Deserialization of Untrusted Data in Apache Batik
published 2018-05-24 8 y ago modified 2026-06-17 4 mo ago also GHSA-25gw-4pcc-45cf , EUVD-2022-1909
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 18.6%
- EPSS 18.6% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.
Patch / fix
- maven org.apache.xmlgraphics:batik 1.10
- apache batik 1.10
- oracle communications_diameter_signaling_router 8.3
- oracle communications_webrtc_session_controller 7.2
- batik Debian 14, Debian 13, Debian 12 1.10-1
debian advisories DEBIAN-CVE-2018-8013
- batik Ubuntu 14.04 LTS 1.7.ubuntu-8ubuntu2.14.04.3
ubuntu advisories UBUNTU-CVE-2018-8013
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/apache/xmlgraphics-batik@f91125b commit
- oracle.com/technetwork/security-advisory/cpujul2018-4258247.html advisory
- oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html advisory
- oracle.com/technetwork/security-advisory/cpujan2019-5072801.html advisory
- oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-8013 updated cvss 7.3
batik: information disclosure when deserializing
-
Red Hat Enterprise Linux 6 batik, batik-demo, batik-svgpp, batik-javadoc, batik-ttf2svg, batik-squiggle, +2 more Red Hat Enterprise Linux 7 batik, batik-demo, batik-svgpp, batik-javadoc, batik-ttf2svg, batik-squiggle, +2 more Red Hat JBoss Fuse 6 switchyard switchyard Red Hat Software Collections rh-java-common-batik, rh-java-common-batik-demo, rh-java-common-batik-svgpp, rh-java-common-batik-javadoc, rh-java-common-batik-ttf2svg, rh-java-common-batik-squiggle, +2 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 batik-css, batik-utilnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
18.59% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.xmlgraphics:batik | >=1.0, <1.10 |
1.10 |
Affected products
- Apache Software Foundation Apache Batik
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
oracle.com
/technetwork/security-advisory/cpujul2018-4258247.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuoct2018-4428296.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpujan2019-5072801.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuapr2019-5072813.html
web, patch, third-party-advisory
-
github.com
/apache/xmlgraphics-batik/commit/f91125b26a6ca2b7a1195f1842360bed03629839
web
-
debian.org
/security/2018/dsa-4215
vendor-advisory, web, third-party-advisory
-
usn.ubuntu.com
/3661-1/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202401-11
vendor-advisory, web
-
securityfocus.com
/bid/104252
vdb-entry, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/05/msg00016.html
mailing-list, web, third-party-advisory
-
mail-archives.apache.org
/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e
mailing-list, web
-
securitytracker.com
/id/1040995
vdb-entry, web, third-party-advisory
-
lists.apache.org
/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E
mailing-list, web
-
oracle.com
/security-alerts/cpujul2020.html
web
-
oracle.com
/technetwork/security-advisory/cpujul2019-5072835.html
web
-
xmlgraphics.apache.org
/security.html
web, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2020.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-8013
advisory
-
usn.ubuntu.com
/3661-1
web
-
ubuntu.com
/security/CVE-2018-8013
web
-
mail-archives.apache.org
/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f$d01860a0$704921e0$@gmail.com%3e
web
-
lists.apache.org
/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19@%3Ccommits.xmlgraphics.apache.org%3E
web
-
lists.apache.org
/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44@%3Ccommits.xmlgraphics.apache.org%3E
web
-
issues.apache.org
/jira/browse/BATIK-1222
web
Sources
- CVE List CVE-2018-8013
- GitHub Advisory GHSA-25gw-4pcc-45cf
- NVD CVE-2018-8013
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.