org.apache.camel:camel-elasticsearch-rest-client@4.20.0

  • latest version

    4.21.0

  • latest non vulnerable version

  • first published

    7 months ago

  • latest version published

    23 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-elasticsearch-rest-client 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 via the ElasticSearchRestClientConstant header names and ElasticsearchRestClientEndpointBuilderFactory producer headers. An attacker can override the Elasticsearch query, operation, index name, index settings, or document ID by sending untrusted HTTP requests with SEARCH_QUERY, OPERATION, INDEX_NAME, INDEX_SETTINGS, or ID headers. When a route exposes an HTTP endpoint in front of this producer, those headers pass Camel’s inbound HTTP header filtering unchanged, and the producer uses them directly, letting the attacker change the search body, delete documents, or read data the route owner did not intend to expose.

    How to fix Authorization Bypass Through User-Controlled Key?

    Upgrade org.apache.camel:camel-elasticsearch-rest-client to version 4.14.8, 4.18.3, 4.21.0 or higher.

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