Apache Batik versions 1.0 through 1.9.1 suffer from an information disclosure vulnerability.
1d2475f0abea1eb2d7161ef3d0b57a01
CVE-2018-8013:
Apache Batik information disclosure vulnerability
Severity:
Medium
Vendor:
The Apache Software Foundation
Versions Affected:
Batik 1.0 - 1.9.1
Description:
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.
Mitigation:
Users should upgrade to Batik 1.10+
Credit:
This issue was independently reported by Man Yue Mo.
References:
http://xmlgraphics.apache.org/security.html
The Apache XML Graphics team.