Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreRFC6587SyslogDeserializer, used by the Spring Integration syslog TCP inbound adapter to decode RFC 6587 / RFC 5424 frames, trusts the sender-supplied octet count of an octet-counted frame and allocates a byte array of exactly that size with no upper bound.
A client that can deliver frames to the listener can declare an arbitrarily large frame length and force the server into a huge heap allocation, leading to memory exhaustion and denial of service.
The non-transparent (LF-delimited) framing path is not affected: it delegates to ByteArrayLfSerializer, which enforces maxMessageSize (default 2048 bytes). The octet-counted path applies no equivalent ceiling.
Spring Integration:
| Fix version | Availability |
|---|---|
| 7.1.0.1 | Enterprise Support Only |
| 7.1.1 | OSS |
| 7.0.5.1 | Enterprise Support Only |
| 7.0.6 | OSS |
| 6.5.11 | Enterprise Support Only |
| 6.4.13 | Enterprise Support Only |
| 5.5.22 | Enterprise Support Only |
No further mitigation steps are necessary.
The issue was identified and responsibly reported by Uwez Khan
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy