org.apache.tika:tika-parser-scientific-module@3.2.1

  • latest version

    4.0.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    12 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.tika:tika-parser-scientific-module package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Directory Traversal

    Affected versions of this package are vulnerable to Directory Traversal via the parseAssay method in ISArchiveParser.java. An attacker can read arbitrary files accessible to the Tika process by supplying a Study Assay File Name value in an ISA-Tab investigation file that points outside the dataset directory. When Tika parses an attacker-controlled ISA-Tab directory, it opens the referenced assay file by concatenating the file name onto the base location without containment checks, so ../ sequences can escape into sibling or parent paths. The contents of the outside file are then emitted into the extracted text output, exposing local file data to anyone who can trigger parsing.

    How to fix Directory Traversal?

    Upgrade org.apache.tika:tika-parser-scientific-module to version 3.3.2, 4.0.0-beta-1 or higher.

    [,3.3.2)[4.0.0-alpha-1,4.0.0-beta-1)