XML External Entity (XXE) Injection Affecting batik package, versions <1.9-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.18% (40th 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 Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-BATIK-522342
  • published18 Apr 2017
  • disclosed18 Apr 2017

Introduced: 18 Apr 2017

CVE-2017-5662  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Debian:11 batik to version 1.9-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 before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.