CVE-2018-1335
HIGH 8.1CVSS 3.0Command injection in org.apache.tika:tika-core
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.
- Published
- 25 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Also known as
- GHSA-9r24-gp44-h3pm
- Sources
- NVDJSONOSV GHSA-9r24-gp44-h3pmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tikacpe:2.3:a:apache:tika:*:*:*:*:*:*:*:* |
< 1.18 | 1.18 |
| OSV | Maven | org.apache.tika:tika-core | >= 1.7, < 1.18 | 1.18 |
References
- http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html · WEB
- http://www.securityfocus.com/bid/104001 · Third Party Advisory, VDB Entry, WEB
- https://access.redhat.com/errata/RHSA-2019:3140 · WEB
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E
- https://www.exploit-db.com/exploits/46540/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1335 · ADVISORY
- https://github.com/advisories/GHSA-9r24-gp44-h3pm · ADVISORY
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 25 Apr 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2018)