From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server that could be used to inject commands into the command line of the server running tika-server. This vulnerability only affects those running tika-server on a server that is open to untrusted clients. The mitigation is to upgrade to Tika 1.18.
packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
www.securityfocus.com/bid/104001
access.redhat.com/errata/RHSA-2019:3140
github.com/advisories/GHSA-9r24-gp44-h3pm
lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2018-1335
www.exploit-db.com/exploits/46540