CVE-2018-1335: Command Injection

Published Apr 25, 2018
·
Updated

Apache Tika before version 1.18 has a command injection vulnerability in tika-server. A remote attacker could exploit this to execute arbitrary commands via crafted headers.

External References:

https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E

Other sources

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.

Affected Software

3 affected componentsFixes available
Apache Tika<1.18
redhat/tika<1.18
1.18
maven/org.apache.tika:tika-core>=1.7<1.18
1.18

Event History

Apr 25, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Apr 27, 2018
Data Sourced
via Red Hat·01:16 AM
DescriptionSeverityAffected Software
Oct 17, 2018
Advisory Published
via GitHub·03:43 PM
May 10, 58339
Event
02:38 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-1335?

CVE-2018-1335 is a vulnerability in Apache Tika versions 1.7 to 1.17 that allows clients to inject commands into the command line of the server running tika-server.

2

What is the severity of CVE-2018-1335?

CVE-2018-1335 has a severity level of critical with a CVSS score of 8.8.

3

How does CVE-2018-1335 affect Apache Tika?

CVE-2018-1335 affects Apache Tika versions 1.7 to 1.17.

4

How can I fix CVE-2018-1335?

To fix CVE-2018-1335, upgrade to Apache Tika version 1.18 or later.

5

Is CVE-2018-1335 a remote code execution vulnerability?

Yes, CVE-2018-1335 allows remote attackers to execute arbitrary commands on the server running tika-server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203