CVE-2018-1335
Command injection in org.apache.tika:tika-core
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tika » tika-core | >= 1.7, < 1.18 | 1.18 |
Blast radius
37% of the dependent artifacts (1,084) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,001 |
| 2 hops | 24,411 |
| 3 hops | 22,705 |
| 4 hops | 10,032 |
| 5 hops | 3,046 |
| 6 hops | 1,449 |
Most used dependents
- org.apache.tika » tika-parsers480 usages
- info.magnolia » magnolia-core462 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apache.jackrabbit » jackrabbit-core323 usages
- ddf.catalog.core » catalog-core-api242 usages
- ddf.catalog.core » catalog-core-api-impl239 usages
- org.apache.tika » tika-parsers-standard-package178 usages
- io.qameta.allure » allure-java-commons170 usages
- io.qameta.allure » allure-junit5162 usages
- org.apache.sling » org.apache.sling.commons.testing143 usages
- io.qameta.allure » allure-junit4135 usages
- info.magnolia.ui » magnolia-ui-framework130 usages
- org.alfresco » alfresco-repository121 usages
- org.jahia.server » jahia-impl120 usages
- org.onehippo.cms7 » hippo-cms-api119 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-1335 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-9r24-gp44-h3pm | github.com |
| Web | errata/RHSA-2019:3140 | access.redhat.com |
| Web | thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@<dev.tika.apache.org> | lists.apache.org |
| Web | exploits/46540 | exploit-db.com |
| Web | files/153864/Apache-Tika-1.17-Header-Command-Injection.html | packetstormsecurity.com |
| Web | bid/104001 | securityfocus.com |
