CVE-2018-8013

Description

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.0 •
CVSS 2.0 •
EPSS 1.29% Top 25%
Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory gentoo.org
Affected: Apache Software Foundation Apache Batik
Published at:
Updated at:

References

Link Tags
http://www.securityfocus.com/bid/104252 vdb entry third party advisory
https://lists.debian.org/debian-lts-announce/2018/05/msg00016.html third party advisory mailing list
https://www.debian.org/security/2018/dsa-4215 third party advisory vendor advisory
https://usn.ubuntu.com/3661-1/ third party advisory vendor advisory
https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e mailing list
http://www.securitytracker.com/id/1040995 vdb entry third party advisory
https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E mailing list
https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E mailing list
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html third party advisory patch
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html third party advisory patch
https://www.oracle.com/security-alerts/cpujul2020.html
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html third party advisory patch
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html third party advisory patch
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
https://xmlgraphics.apache.org/security.html third party advisory
https://www.oracle.com/security-alerts/cpuoct2020.html
https://security.gentoo.org/glsa/202401-11 vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-8013?
CVE-2018-8013 has been scored as a critical severity vulnerability.
How to fix CVE-2018-8013?
To fix CVE-2018-8013, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-8013 being actively exploited in the wild?
It is possible that CVE-2018-8013 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-8013?
CVE-2018-8013 affects Apache Software Foundation Apache Batik.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.