ADVISORIES

GitHub Advisory Database

GHSA-25gw-4pcc-45cf

Deserialization of Untrusted Data in Apache Batik

Critical CVE-2018-8013

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.xmlgraphics:batik
From 1.0 before 1.10 (fixed in 1.10)

References