REDHAT-BUG-2477213: Medium severity Netty Netty Redis codec (RedisEncoder) vulnerability
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, the Netty Redis codec encoder (RedisEncoder) writes user-controlled string content directly to the network output buffer without validating or sanitizing CRLF (\r\n) characters. Since the Redis Serialization Protocol (RESP) uses CRLF as the command/response delimiter, an attacker who can control the content of a Redis message can inject arbitrary Redis commands or forge fake responses. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
io.netty:netty-redis-codec (RedisEncoder)to a version that resolves this vulnerability.Fixed in 4.2.13.Final - Upgrade
Upgrade
io.netty:netty-redis-codec (RedisEncoder)to a version that resolves this vulnerability.Fixed in 4.1.133.Final
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2477213?
The severity of REDHAT-BUG-2477213 is medium with a risk rating of 4.
How do I fix REDHAT-BUG-2477213?
To fix REDHAT-BUG-2477213, upgrade to Netty version 4.2.13.Final or 4.1.133.Final or later.
What is the impact of REDHAT-BUG-2477213?
The impact of REDHAT-BUG-2477213 is that it allows user-controlled string content to be written unchecked to a network output buffer, potentially leading to injection attacks.
Which versions of Netty are affected by REDHAT-BUG-2477213?
Versions prior to 4.2.13.Final and 4.1.133.Final of Netty are affected by REDHAT-BUG-2477213.
Is there a workaround for REDHAT-BUG-2477213?
There are no known workarounds for REDHAT-BUG-2477213; upgrading to a patched version is recommended.