Deserialization of Untrusted Data The advisory has been revoked - it doesn't affect any version of package batik  (opens in a new tab)


Threat Intelligence

EPSS
18.93% (98th 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 IDSNYK-UBUNTU2004-BATIK-645495
  • published24 May 2018
  • disclosed24 May 2018

Introduced: 24 May 2018

CVE-2018-8013  (opens in a new tab)
CWE-502  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream batik package and not the batik package as distributed by Ubuntu.

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