Deserialization of Untrusted Data in Apache Batik
Apache Software Foundation Apache Batik
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.xmlgraphics:batik Maven |
|
|
Original 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.
From the CVE record · apache