GHSA-25gw-4pcc-45cf

Deserialization of Untrusted Data in Apache Batik

At a glance

Published
Updated
CVE
CVE-2018-8013
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Affected packages

PackageVersions
Maven · org.apache.xmlgraphics:batikintroduced 1.0, fixed 1.10

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database