tika: Command injection in tika-server can allow remote attackers to execute arbitrary commands via crafted headers
Published Apr 25, 2018
8.8
HIGHCVSS 3.0
EPSS 93.76%
Description
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 products
-
- Version 1.7 to 1.17StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Tika | n/a |
|
No data.
Red Hat JBoss Data Virtualization 6.4.8
tika-core
Fixed · RHSA-2019:3140
Red Hat BPM Suite 6
tika-core
Not affected
Red Hat Fuse 7
camel-tika
Not affected
Red Hat JBoss BRMS 5
tika-core
Not affected
Red Hat JBoss BRMS 6
tika-core
Not affected
Red Hat JBoss Fuse Integration Service 2
tika-core
Not affected
Red Hat JBoss Fuse Service Works 6
tika-core
Not affected
Red Hat Satellite 5
tika
Will not fix
Red Hat Software Collections
rh-eclipse46-tika
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Data Virtualization 6.4.8 | tika-core | Fixed | RHSA-2019:3140 |
| Red Hat BPM Suite 6 | tika-core | Not affected | n/a |
| Red Hat Fuse 7 | camel-tika | Not affected | n/a |
| Red Hat JBoss BRMS 5 | tika-core | Not affected | n/a |
| Red Hat JBoss BRMS 6 | tika-core | Not affected | n/a |
| Red Hat JBoss Fuse Integration Service 2 | tika-core | Not affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | tika-core | Not affected | n/a |
| Red Hat Satellite 5 | tika | Will not fix | n/a |
| Red Hat Software Collections | rh-eclipse46-tika | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of tika which is embedded in the nutch package as shipped with Red Hat Satellite 5. The tika server is not exposed, as such exploitation is difficult, Red Hat Product Security has rated this issue as having security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (29 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 93.76% (0.93758) | 99.84th | v5 (v2026.06.15) |
| Sep 22, 2026 | 93.76% (0.93758) | 99.84th | v5 (v2026.06.15) |
| Sep 21, 2026 | 90.87% (0.90870) | 99.80th | v5 (v2026.06.15) |
| Sep 6, 2026 | 93.76% (0.93758) | 99.84th | v5 (v2026.06.15) |
| Sep 5, 2026 | 90.87% (0.90870) | 99.80th | v5 (v2026.06.15) |
| Aug 30, 2026 | 93.97% (0.93972) | 99.84th | v5 (v2026.06.15) |
| Aug 28, 2026 | 91.12% (0.91122) | 99.80th | v5 (v2026.06.15) |
| Aug 24, 2026 | 93.97% (0.93972) | 99.84th | v5 (v2026.06.15) |
| Aug 23, 2026 | 91.12% (0.91122) | 99.80th | v5 (v2026.06.15) |
| Jun 15, 2026 | 94.11% (0.94106) | 99.84th | v5 (v2026.06.15) |
| Mar 17, 2025 | 93.54% (0.93536) | 99.83th | v4 (v2025.03.14) |
| Dec 12, 2024 | 96.74% (0.96744) | 99.72th | v3 (v2023.03.01) |
| Jun 20, 2024 | 96.83% (0.96831) | 99.70th | v3 (v2023.03.01) |
| Mar 4, 2024 | 96.75% (0.96745) | 99.64th | v3 (v2023.03.01) |
| Nov 8, 2023 | 96.73% (0.96734) | 99.56th | v3 (v2023.03.01) |
| Oct 7, 2023 | 97.38% (0.97380) | 99.88th | v3 (v2023.03.01) |
| Sep 16, 2023 | 97.33% (0.97328) | 99.82th | v3 (v2023.03.01) |
| Aug 4, 2023 | 97.22% (0.97218) | 99.73th | v3 (v2023.03.01) |
| Jul 8, 2023 | 97.34% (0.97341) | 99.81th | v3 (v2023.03.01) |
| Jun 12, 2023 | 97.35% (0.97353) | 99.82th | v3 (v2023.03.01) |
| May 24, 2023 | 97.35% (0.97347) | 99.81th | v3 (v2023.03.01) |
| May 8, 2023 | 97.40% (0.97396) | 99.86th | v3 (v2023.03.01) |
| May 7, 2023 | 97.36% (0.97363) | 99.82th | v3 (v2023.03.01) |
| Mar 7, 2023 | 97.39% (0.97385) | 99.81th | v3 (v2023.03.01) |
| Mar 6, 2023 | 92.40% (0.92398) | 99.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 92.40% (0.92398) | 99.89th | v2 (v2022.01.01) |
| Feb 3, 2022 | 55.75% (0.55747) | 99.13th | v1 |
| Sep 1, 2021 | 55.75% (0.55747) | 99.73th | v1 |
| Apr 14, 2021 | 55.75% (0.55747) | 0.00th | v1 |
References (11)
- http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html x_refsource_MISC
- http://www.securityfocus.com/bid/104001 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:3140 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-1335 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1572416 Issue Tracking
- https://github.com/advisories/GHSA-9r24-gp44-h3pm Advisory
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1335
- https://www.cve.org/CVERecord?id=CVE-2018-1335
- https://www.exploit-db.com/exploits/46540 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
| Link | Providers | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html | x_refsource_MISC | |
| http://www.securityfocus.com/bid/104001 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2019:3140 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2018-1335 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1572416 | Issue Tracking | |
| https://github.com/advisories/GHSA-9r24-gp44-h3pm | Advisory | |
| https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E | mailing-listx_refsource_MLIST | |
| https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E | ||
| https://nvd.nist.gov/vuln/detail/CVE-2018-1335 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-1335 | ||
| https://www.exploit-db.com/exploits/46540 | exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry |
Change history (0)
No recorded changes yet.