Skip to content
Heist/ feed
Back to feed
High

tika — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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
tika
Affected versions
1.22-2
Fixed versions
Not specified
CVEs
CVE-2018-1335
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:24 UTC · Revision 1

Source evidence

UBUNTU-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:UBUNTU-CVE-2018-1335

tika

Fixed versions: Not specified

tika

Fixed versions: Not specified

Complete source record
{
  "id": "8851d3b5d71359742f831fcc20c7c59aab7f2e5695ba50130483d855dead1fbc",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-1335",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-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:UBUNTU-CVE-2018-1335",
    "products": [
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22-2",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2018-1335",
      "aliases": [
        "UBUNTU-CVE-2018-1335"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1335.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.22-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1335.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.22-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:54:33.750767028Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-1335"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2018-1335",
        "https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E",
        "https://www.cve.org/CVERecord?id=CVE-2018-1335"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-1335",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353522,
  "published_at": "2018-04-25T21:29:00+00:00"
}