Description
In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.
Remediation
References
http://www.securityfocus.com/bid/105515
https://lists.apache.org/thread.html/ab2e1af38975f5fc462ba89b517971ef892ec3d06bee12ea2258895b%40%3Cdev.tika.apache.org%3E
Related Vulnerabilities
CVE-2017-7675 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2020-15123 Vulnerability in npm package codecov
CVE-2022-21208 Vulnerability in npm package node-opcua
CVE-2021-23353 Vulnerability in maven package org.webjars.bowergithub.mrrio:jspdf
CVE-2018-19837 Vulnerability in maven package org.webjars.npm:node-sass