org.apache.camel:camel-lucene@4.18.0

  • latest version

    4.21.0

  • latest non vulnerable version

  • first published

    16 years ago

  • latest version published

    23 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-lucene 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
    Authorization Bypass Through User-Controlled Key

    Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the LuceneConstants.HEADER_QUERY and LuceneConstants.HEADER_RETURN_LUCENE_DOCS headers in the Lucene producer. An attacker can override the intended Lucene search by sending an HTTP request with attacker-controlled QUERY or RETURN_LUCENE_DOCS headers that pass through the HTTP header filter into the Exchange. In routes that expose the Lucene producer behind an HTTP consumer, this lets an unauthenticated client run arbitrary searches against the indexed data, including broad or expensive queries. The result is unauthorized document disclosure and increased CPU consumption, breaking the route’s intended per-request search control.

    How to fix Authorization Bypass Through User-Controlled Key?

    Upgrade org.apache.camel:camel-lucene to version 4.14.8, 4.18.3, 4.21.0 or higher.

    [4.0.0,4.14.8)[4.15.0,4.18.3)[4.19.0,4.21.0)