REDHAT-BUG-2488388: High severity Netty netty-transport-sctp vulnerability
Netty is a network application framework for development of protocol servers and clients. In versions of netty-transport-sctp prior to 4.1.135.Final and 4.2.15.Final, for each non-complete SctpMessage fragment the handler does fragments.put(streamId, Unpooled.wrappedBuffer(frag, byteBuf)), wrapping the previous accumulator and the new slice into a new CompositeByteBuf every time. After N fragments the accumulator is an N-deep chain of composites, each holding references and component arrays; readableBytes()/getBytes() on the final buffer recurse N levels. There is no limit on N, on total bytes, or on the number of streamIdentifiers an attacker can open (each gets its own map entry). A peer that never sets the complete flag can grow this structure indefinitely from tiny 1-byte DATA chunks. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
netty-transport-sctpto a version that resolves this vulnerability.Fixed in 4.1.135.Final - Upgrade
Upgrade
netty-transport-sctpto a version that resolves this vulnerability.Fixed in 4.2.15.Final
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2488388?
The severity of REDHAT-BUG-2488388 is classified as high, rated at 7.
How do I fix REDHAT-BUG-2488388?
To resolve REDHAT-BUG-2488388, upgrade to netty-transport-sctp version 4.1.135.Final or 4.2.15.Final or later.
What vulnerability does REDHAT-BUG-2488388 address?
REDHAT-BUG-2488388 addresses a vulnerability in Netty's handling of SctpMessages in the netty-transport-sctp module.
Which versions of Netty are affected by REDHAT-BUG-2488388?
Versions of netty-transport-sctp prior to 4.1.135.Final and 4.2.15.Final are affected by REDHAT-BUG-2488388.
What is the impact of REDHAT-BUG-2488388?
The impact of REDHAT-BUG-2488388 includes potential application disruption due to improper handling of SctpMessage fragments.