🛡️ CVE-2018-8013 — batik

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-502 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Deserialization of Untrusted Data in Apache Batik

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2018-8013 is classified as CWE-502: Deserialization of Untrusted Data. Serialised data from an untrusted source is reconstructed into objects, which can trigger code during the process.

Affected software

CVE-2018-8013 is recorded against 1 package.

  • org.apache.xmlgraphics:batik (from 1.0 up to 1.10)

Timeline and source

Published on 13 May 2022 and last revised on 14 March 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
xmlgraphics.apache.org (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.debian.org (Web)
usn.ubuntu.com (Web)
ubuntu.com (Web)
security.gentoo.org (Web)
mail-archives.apache.org (Web)
mail-archives.apache.org (Web)
lists.debian.org (Web)

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-502
Public Exploit ✅ No
Source OSV
Published 2022-05-13
Updated 2026-08-12
Modified 2024-03-14
Fix URL N/A

Affected Packages

Software From version Fixed in
org.apache.xmlgraphics:batik 1.0 1.10

References

Exploit Protection

Are you running batik?

CVE-2018-8013 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2018-8013 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.