Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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. 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1335
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:38 UTC · Revision 1

Source evidence

CVE-2018-1335

core-osv · Original source

Published 25 Apr 2018, 21:29 UTC

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.

osv:CVE-2018-1335
Complete source record
{
  "id": "6131a867fd349833c26106cdd6e8282cd5b9565baca815bd8936d18367ec3ec7",
  "url": "https://osv.dev/vulnerability/CVE-2018-1335",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1335",
    "summary": "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.",
    "evidence": "osv:CVE-2018-1335",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-1335",
      "aliases": [
        "CVE-2018-1335",
        "GHSA-9r24-gp44-h3pm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/tika",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "38ff2a986af24ee255f1f91d654ea402f4016696"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.18-rc1",
            "1.17",
            "1.15-rc1",
            "1.12-rc1",
            "1.12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1335.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:31.674692881Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E",
        "https://access.redhat.com/errata/RHSA-2019:3140",
        "https://www.exploit-db.com/exploits/46540/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-1335",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432860,
  "published_at": "2018-04-25T21:29:00.297+00:00"
}