CVEfocus › CVE database › CVE-2017-5662

CVE-2017-5662

CVSS 7.3 HighEPSS 4.1% (higher than 91% of CVEs)Published 2017-04-18Updated 2024-08-05Assigner: apache

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.

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
16Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04batikNot affected
vulnerable_code_not_present
Ubuntu 25.10batikNot affected
vulnerable_code_not_present
Ubuntu 24.04batikNot affected
vulnerable_code_not_present
Ubuntu 22.04batikNot affected
vulnerable_code_not_present
Ubuntu 20.04batikNot affected
vulnerable_code_not_present
Ubuntu 18.04batikNot affected
vulnerable_code_not_present
Ubuntu 16.04batikFix pendingUBUNTU-CVE-2017-5662
Ubuntu 14.04batikFixed1.7.ubuntu-8ubuntu2.14.04.2UBUNTU-CVE-2017-5662
Debian 14batikFixed1.9-1DEBIAN-CVE-2017-5662
Debian 13batikFixed1.9-1DEBIAN-CVE-2017-5662
Debian 12batikFixed1.9-1DEBIAN-CVE-2017-5662
Red Hat Enterprise Linux 7batikWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-demoWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-rasterizerWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-slideshowWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-squiggleWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-svgppWill not fix
Will not fix
Red Hat Enterprise Linux 7batik-ttf2svgWill not fix
Will not fix
Red Hat Enterprise Linux 6batikWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-demoWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-rasterizerWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-slideshowWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-squiggleWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-svgppWill not fix
Will not fix
Red Hat Enterprise Linux 6batik-ttf2svgWill not fix
Will not fix
Maven libraryorg.apache.xmlgraphics:batikFixed1.9GHSA-qwgx-59jw-qfg9

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.