org.apache.camel:camel-knative-api@4.14.8

  • latest version

    4.23.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    12 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-knative-api 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
    Information Exposure

    Affected versions of this package are vulnerable to Information Exposure via the KnativeHttpConsumer in the camel-knative HTTP consumer. An external sender can trigger a consumer-side route failure by sending a request that causes exchange processing to fail, then read the exception class, message, and stack trace returned in the HTTP response. This exposes deployment details such as route structure, host or filesystem names, and, when exception messages contain them, configuration or connection strings directly.

    Workarounds

    • Add an onException handler that explicitly sets the response body, preventing the Knative HTTP consumer from returning exception details to callers.

    How to fix Information Exposure?

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

    [4.0.0,4.18.5)[4.19.0,4.22.1)