🛡️ CVE-2017-5662 — batik
Description
Improper Restriction of XML External Entity Reference in Apache Batik
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability high.
Weakness class
CVE-2017-5662 is classified as CWE-611: XML External Entity Reference (XXE). An XML parser resolves external entities, letting a crafted document read local files or reach internal services.
Affected software
CVE-2017-5662 is recorded against 1 package.
- org.apache.xmlgraphics:batik (fixed in 1.9)
Timeline and source
Published on 13 May 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
access.redhat.com (Web)
access.redhat.com (Web)
access.redhat.com (Web)
www.debian.org (Web)
www.oracle.com (Web)
xmlgraphics.apache.org (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.securityfocus.com (Web)
www.securitytracker.com (Web)
Details
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.apache.xmlgraphics:batik | — | 1.9 |
References
Similar Threats
- Unknown CLSA-2026-1778633124
- Unknown CLSA-2026-1780966324
- Unknown CLSA-2026-1781052741
- Unknown CLSA-2026-1781571266
- Unknown CLSA-2026-1784856219
More CVE 2017 advisories
Browse all of CVE 2017 in the advisory index.
Site Security Check
Is batik part of your stack?
CVE-2017-5662 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →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.