9.8crit

CVE-2018-8013in critical feed

Deserialization of Untrusted Data in Apache Batik

Also known as GHSA-25gw-4pcc-45cf

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
18.6%
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.

Exploit prediction (EPSS)

18.59% probability of exploitation in the next 30 days, higher than 97% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.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

  • securityfocus.com /bid/104252 · vdb-entry, x_transferred
  • lists.debian.org /debian-lts-announce/2018/05/msg00016.html · mailing-list, x_transferred
  • debian.org /security/2018/dsa-4215 · vendor-advisory, x_transferred
  • usn.ubuntu.com /3661-1/ · vendor-advisory, x_transferred
  • mail-archives.apache.org /mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gma · mailing-list, x_transferred
  • securitytracker.com /id/1040995 · vdb-entry, x_transferred
  • lists.apache.org /thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgra · mailing-list, x_transferred
  • lists.apache.org /thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgra · mailing-list, x_transferred
  • oracle.com /technetwork/security-advisory/cpujul2018-4258247.html · x_transferred
  • oracle.com /technetwork/security-advisory/cpuoct2018-4428296.html · x_transferred
  • oracle.com /security-alerts/cpujul2020.html · x_transferred
  • oracle.com /technetwork/security-advisory/cpujan2019-5072801.html · x_transferred
  • oracle.com /technetwork/security-advisory/cpuapr2019-5072813.html · x_transferred
  • oracle.com /technetwork/security-advisory/cpujul2019-5072835.html · x_transferred
  • xmlgraphics.apache.org /security.html · x_transferred
  • oracle.com /security-alerts/cpuoct2020.html · x_transferred
  • security.gentoo.org /glsa/202401-11 · vendor-advisory, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-8013 · advisory
  • github.com /apache/xmlgraphics-batik/commit/f91125b26a6ca2b7a1195f1842360bed03629839 · web
  • 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%3 · web
  • lists.apache.org /thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19@%3Ccommits.xmlgraph · web
  • lists.apache.org /thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44@%3Ccommits.xmlgraph · web
  • issues.apache.org /jira/browse/BATIK-1222 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.