spring-kafka is vulnerable to Server-Side Request Forgery (SSRF)
65
Medium Risk
spring-kafka JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper include java.net in the default trusted packages. A producer can send a java.net.InetAddress type header that causes Jackson to call InetAddress.getByName() and trigger DNS resolution. That is SSRF in the default @KafkaListener configuration. The patch removes java.net from the default trusted packages.
You are affected if you are using a version that falls within the vulnerable range and @KafkaListener consumers use the default JSON header mapper.
spring-kafka is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 4.0.6 and 4.1.0 - 4.1.0.
Upgrade the org.springframework.kafka:spring-kafka library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant