org.apache.camel:camel-tika@4.18.1

  • latest version

    4.23.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    12 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-tika 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
    Improper Neutralization

    Affected versions of this package are vulnerable to Improper Neutralization via convertMetadataToHeaders in the Camel Tika producer. An attacker can manipulate downstream route behavior, including where a later file producer writes content, by supplying a document with metadata such as CamelFileName set to an attacker-chosen path.

    Workarounds

    • In routes using the Tika producer, add removeHeaders("Camel*") immediately after it and before any component that acts on those headers, preventing document metadata from controlling downstream behavior through Camel headers.

    How to fix Improper Neutralization?

    Upgrade org.apache.camel:camel-tika to version 4.18.5, 4.22.1 or higher.

    [4.0.0,4.18.5)[4.19.0,4.22.1)