Deserialization of Untrusted Data Affecting batik package, versions <1.10-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.44% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN11-BATIK-532704
  • published 24 May 2018
  • disclosed 24 May 2018

How to fix?

Upgrade Debian:11 batik to version 1.10-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream batik package and not the batik package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

References