spring-kafka is vulnerable to Improper Input Validation
65
CVE Score
Medium
Improper Input Validation
Spring Kafka's retry topic infrastructure did not sufficiently validate user-controlled header values before acting on them. A producer could send a record with a crafted retry_topic-attempts header to supply an out-of-range attempt count and cause the retry topic router to misidentify where the message was in the retry sequence. Separately, the retry_topic_backoff-timestamp header was accepted without bounds checking, meaning a forged timestamp could instruct the backoff manager to impose an arbitrarily long pause, stalling the listener far beyond any intended retry window.
Upgrade the org.springframework.kafka:spring-kafka library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.3.15
Fixed in 3.3.164.0.0 - 4.0.5
Fixed in 4.0.6spring-kafka is vulnerable to Improper Input Validation in versions 0.0.1 - 3.3.15 and 4.0.0 - 4.0.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.