CVE-2018-1335
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. Thi...
CVE-2018-1335 affects Maven org.apache.tika:tika-core (CVSS 8.1, High).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 1.18.
Public exploit: 3 sourcesFix1.18Upgrade to this build
e.g. Apache Tika 1.15-1.17 Header Command Injection · OID 1.3.6.1.4.1.25623.1.0.113167
What to do
Find your product and version, then upgrade to the build on the right.
- Apache Software Foundation Apache TikaAffected: 1.7 to 1.17Upgrade to: not statedStated by: CVE record
- Maven org.apache.tika:tika-coreAffected: ≥ 1.7, < 1.18Upgrade to: 1.18Stated by: GitHub advisory
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
Command injection in org.apache.tika:tika-core
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
3 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
94% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- OpenVAS check added
- Public exploit / PoCsource: exploit-dbnuclei check added
- Patch availablerecord updated
- Publishedweakness classified
Affected products
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 8.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
Sources
References in the record
- nvd.nist.gov/vuln/detail/CVE-2018-1335
- access.redhat.com/errata/RHSA-2019:3140
- github.com/advisories/GHSA-9r24-gp44-h3pm
And 6 more references. See all after sign-in
Questions about CVE-2018-1335
- Is CVE-2018-1335 being exploited?
- Not confirmed. Public exploit code exists (3 sources), but CVE-2018-1335 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 94%.
- Which versions are affected by CVE-2018-1335?
- Org.apache.tika:tika-core: ≥ 1.7, < 1.18. Apache Tika: 1.7 to 1.17.
- How do I fix or mitigate CVE-2018-1335?
- Upgrade to 1.18 or later. The advisory is on access.redhat.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Maven, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI