CVE-2018-1335
Command injection in org.apache.tika:tika-core
Reported by apache · Published April 25, 2018
tika-core is fixed in 1.18 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tika:tika-core | Maven Central | 1.18 |
| org.apache.tika:tika-server | Maven Central | 1.18 |
| tika | apache | 1.18 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tika | 1.7 to 1.17 |
| Apache Software Foundation | Apache Tika | 1.7 |
Timeline
- Apr 25, 2018 CVE Published
- Mar 12, 2019 PoC Published (101 in total, the first dated here)
- Jan 18, 2021 VulnCheck XDB Entry (5 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 5, 2023 VulnCheck KEV Exploitation (720 in total, the first dated here)
- Sep 17, 2024 CVE Updated
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Sep 24, 2026 Coalition ESS Score
- Nov 2, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1335
vulnetix vdb fixes CVE-2018-1335
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1335/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [dev] 20180425 [CVE-2018-1335] Command Injection Vulnerability in Apache Tika's tika-server module mailing-listx_refsource_MLIST
- 104001 vdb-entryx_refsource_BID
- 46540 exploitx_refsource_EXPLOIT-DB
- x_refsource_MISC
- RHSA-2019:3140 vendor-advisoryx_refsource_REDHAT