[CVE-2018-8013] Apache Batik information disclosure vulnerability

"Simon Steiner" <[email protected]> Wed, 23 May 2018 13:16:00 +0100
Newsgroups gmane.text.xml.batik.user,gmane.comp.apache.commons.general,gmane.text.xml.batik.devel,gmane.comp.security.oss.general,gmane.comp.security.bugtraq
Message-ID <[email protected]>
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.