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.
Remediation
References
https://xmlgraphics.apache.org/security.html
http://www.securityfocus.com/bid/97948
http://www.securitytracker.com/id/1038334
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
https://access.redhat.com/errata/RHSA-2017:2547
https://access.redhat.com/errata/RHSA-2017:2546
https://access.redhat.com/errata/RHSA-2018:0319
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
https://www.debian.org/security/2018/dsa-4215
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
https://www.oracle.com/security-alerts/cpuoct2020.html
Related Vulnerabilities
CVE-2021-3810 Vulnerability in npm package code-server
CVE-2023-50723 Vulnerability in maven package org.xwiki.platform:xwiki-platform-administration-ui
CVE-2018-20835 Vulnerability in maven package org.webjars.npm:tar-fs
CVE-2023-5217 Vulnerability in npm package electron
CVE-2022-21724 Vulnerability in maven package org.postgresql:postgresql