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-2022-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-elasticsearch-8
CVE-2022-0144 Vulnerability in npm package shelljs
CVE-2018-18854 Vulnerability in maven package io.spray:spray-json_2.11
CVE-2017-18239 Vulnerability in maven package com.jason-goodwin:authentikat-jwt_2.11