Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tika/tika-core
  4. ›
  5. CVE-2018-11762

CVE-2018-11762: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

October 17, 2018 (updated September 21, 2021)

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (–extract-dir=) and the input file has an embedded file with an absolute path, such as “C:/evil.bat”, tika-app would overwrite that file.

References

  • www.securityfocus.com/bid/105515
  • github.com/advisories/GHSA-w6g3-v46q-5p28
  • lists.apache.org/thread.html/ab2e1af38975f5fc462ba89b517971ef892ec3d06bee12ea2258895b@%3Cdev.tika.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2018-11762

Code Behaviors & Features

Detect and mitigate CVE-2018-11762 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.9 before 1.19

Fixed versions

  • 1.19

Solution

Upgrade to version 1.19 or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.tika/tika-core/CVE-2018-11762.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.