org.apache.camel:camel-jetty-common@4.18.4

  • latest version

    4.23.0

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    12 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-jetty-common 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
    Permissive Cross-domain Policy with Untrusted Domains

    org.apache.camel:camel-jetty-common is a versatile open-source integration framework based on known Enterprise Integration Patterns.

    Affected versions of this package are vulnerable to Permissive Cross-domain Policy with Untrusted Domains via the enableCORS configuration in the Jetty component. An attacker can read endpoint responses by getting a user’s browser to send credentialed cross-origin requests after the endpoint enables CORS; Jetty’s default filter reflects any requesting origin and allows credentials. This exposes response data to an attacker whose page the user visits.

    Workarounds

    • Configure the Jetty CrossOriginFilter parameters explicitly and set filterInit.allowedOrigins to the trusted origins, rather than relying on the defaults installed by enableCORS; this prevents arbitrary origins from making credentialed cross-origin requests and reading endpoint responses.

    How to fix Permissive Cross-domain Policy with Untrusted Domains?

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

    [4.0.0,4.18.5)[4.19.0,4.22.1)