Apache Tika versions 1.7 to 1.17 allow clients to 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.
View the template here CVE-2018-1335.yaml
References:
https://www.exploit-db.com/exploits/47208