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
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
http://www.securityfocus.com/bid/97948
http://www.securitytracker.com/id/1038334
https://access.redhat.com/errata/RHSA-2017:2546
https://access.redhat.com/errata/RHSA-2017:2547
https://access.redhat.com/errata/RHSA-2018:0319
https://www.debian.org/security/2018/dsa-4215
https://www.oracle.com/security-alerts/cpuoct2020.html
https://xmlgraphics.apache.org/security.html
Related Vulnerabilities
CVE-2022-25923 Vulnerability in npm package exec-local-bin
CVE-2022-31129 Vulnerability in npm package moment
CVE-2022-22143 Vulnerability in npm package convict
CVE-2017-12881 Vulnerability in maven package org.springframework.batch:spring-batch-admin
CVE-2018-11650 Vulnerability in maven package org.graylog2:graylog2-server