Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-8013 EUVD-2022-1909GHSA-25gw-4pcc-45cf

Deserialization of Untrusted Data in Apache Batik

Published May 24, 2018 · Updated Sep 16, 2024 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Batik 1.0 - 1.9.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 batik 1.10-1 —
Debian 13 batik 1.10-1 —
Debian 12 batik 1.10-1 —
Debian 9 batik 1.8-4+deb9u1 DSA-4215-1
Debian 8 batik 1.7+dfsg-5+deb8u1 DSA-4215-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 batik 1.7+dfsg-3+deb7u3 DLA-1385-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS batik 1.7.ubuntu-8ubuntu2.14.04.3 USN-3661-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS batik No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.xmlgraphics:batik >= 1.0, < 1.10 1.10 GHSA-25gw-4pcc-45cf

Advisories 5

References