org.apache.camel:camel-a2a@4.21.0

  • latest version

    4.23.0

  • latest non vulnerable version

  • first published

    4 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-a2a 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
    Server-side Request Forgery (SSRF)

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the validateAndResolve function in the A2A component’s WebhookUrlValidator. An attacker can make Camel send a blind outbound HTTPS request to an internal IPv6 unique-local address by registering a push-notification webhook URL whose hostname resolves into fc00::/7; the validator accepts it because its hostname-resolution checks do not identify that range. The request may include the configured Authorization header, and its response is not returned to the registering caller; exploitation requires the name to resolve to that range in the target environment and an HTTPS service there to accept the connection.

    Workarounds

    • Place authentication in front of the A2A push-notification configuration path to prevent untrusted callers from supplying webhook URLs.
    • Deny network egress from the Camel process to fc00::/7 to block requests to IPv6 unique-local addresses.
    • If the deployment does not need IPv6, start the JVM with -Djava.net.preferIPv4Stack=true to remove the IPv6 address path involved in this vulnerability.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade org.apache.camel:camel-a2a to version 4.22.2 or higher.

    [4.21.0,4.22.2)