XML External Entity (XXE) Injection Affecting batik package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.3% (70th 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-RHEL6-BATIK-1371444
  • published26 Jul 2021
  • disclosed10 Apr 2017

Introduced: 10 Apr 2017

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

How to fix?

There is no fixed version for RHEL:6 batik.

NVD Description

Note: Versions mentioned in the description apply only to the upstream batik package and not the batik package as distributed by RHEL. See How to fix? for RHEL:6 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.