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-2016-0782 Vulnerability in maven package org.apache.activemq:activemq-web-console
CVE-2018-3732 Vulnerability in npm package resolve-path
CVE-2017-4960 Vulnerability in maven package org.cloudfoundry.identity:cloudfoundry-identity-server
CVE-2023-33779 Vulnerability in maven package com.xuxueli:xxl-job
CVE-2021-31404 Vulnerability in maven package com.vaadin:flow-server