org.apache.camel:camel-dns@3.20.0

  • latest version

    4.21.0

  • latest non vulnerable version

  • first published

    15 years ago

  • latest version published

    19 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.camel:camel-dns 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 DnsConstants header handling in components/camel-dns/src/main/java/org/apache/camel/component/dns/DnsConstants.java and the DNS producers that consume those headers. An attacker can redirect DNS queries to an attacker-controlled resolver and probe internal hostnames by sending untrusted dns.server, dns.name, dns.domain, dns.type, dns.class, or term headers into a route that bridges HTTP input to a dns: producer. Because those header names are plain strings that do not use the Camel header namespace, they pass through the normal HttpHeaderFilterStrategy from inbound HTTP requests into the Exchange. In an unauthenticated bridge route, this lets a remote client influence the DNS server and lookup target, exposing internal network names and allowing poisoned DNS responses.

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

    Upgrade org.apache.camel:camel-dns 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)