CVE-2026-42586
MEDIUM6.8EPSS 0.01%Netty Redis Codec Encoder has a CRLF Injection Issue
發布日:2026/5/7修改日:2026/5/19
描述
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.
受影響套件(2)
- Debian/nettyfrom 0
- Maven/io.netty:netty-codec-redis>= 4.2.0.Alpha1, < 4.2.13.Final
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-42586
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-42586
- PATCHhttps://github.com/netty/netty
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-84h7-rjj3-6jx4
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-jq43-27x9-3v86
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7
- WEBhttps://redis.io/docs/reference/protocol-spec