Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring 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.
Spring for Apache Kafka:
| Fix version | Availability |
|---|---|
| 4.0.6 | OSS |
| 4.0.5.1 | Enterprise Support Only |
| 3.3.16 | OSS |
| 3.3.15.1 | Enterprise Support Only |
| 3.2.14 | Enterprise Support Only |
| 2.9.14 | Enterprise Support Only |
| 2.8.12 | Enterprise Support Only |
No further mitigation steps are necessary.
This issue was discovered internally.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy