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-2021-4299 Vulnerability in npm package string-kit
CVE-2021-29451 Vulnerability in maven package com.manydesigns:portofino-core
CVE-2020-15930 Vulnerability in npm package joplin
CVE-2018-6873 Vulnerability in npm package auth0-js
CVE-2022-43418 Vulnerability in maven package org.jenkins-ci.plugins:katalon