Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-6ghj-frrj-jjj3

Опубликовано: 08 июн. 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Netty has Unbounded Direct Memory Consumption in its RedisDecoder

Summary

An attacker can cause DoS by sending crafted Redis payloads across multiple connections without \r\n. This exhausts the server's direct memory pool (OutOfDirectMemoryError), preventing legitimate connections from being processed.

Details

io.netty.handler.codec.redis.RedisDecoder decodes the length of bulk strings and array headers using the decodeLength method. This method reads bytes from the network until it encounters a \n character. However, it does not enforce any maximum length check while buffering the bytes if the \n character is not found. An attacker can exploit this by sending a continuous stream of digits (e.g., $1111...) without ever sending a \n.

To cause a true Denial of Service, an attacker must open multiple concurrent connections and distribute the unbounded payloads among them.

According to the RESP specification (https://redis.io/docs/latest/develop/reference/protocol-spec/), all parts of the protocol are strictly terminated with \r\n. Furthermore, the length prefix itself is an integer representation that must fit within standard numeric limits (e.g., a 64-bit signed integer). Therefore, a stream of digits exceeding these bounds without \r\n is a protocol violation and should be rejected immediately rather than buffered indefinitely.

Impact

Denial of Service due to memory exhaustion. Any application using Netty's RedisDecoder to handle untrusted Redis traffic is vulnerable.

Пакеты

Наименование

io.netty:netty-codec-redis

maven
Затронутые версииВерсия исправления

>= 4.2.0.Final, <= 4.2.14.Final

4.2.15.Final

Наименование

io.netty:netty-codec-redis

maven
Затронутые версииВерсия исправления

<= 4.1.134.Final

4.1.135.Final

EPSS

Процентиль: 37%
0.00449
Низкий

7.5 High

CVSS3

Дефекты

CWE-400

Связанные уязвимости

CVSS3: 7.5
ubuntu
около 2 месяцев назад

Netty is a network application framework for development of protocol servers and clients. In netty-codec-redis prior to versions 4.1.135.Final and 4.2.15.Final, an attacker can cause DoS by sending crafted Redis payloads across multiple connections without `\r\n`. This exhausts the server's direct memory pool (OutOfDirectMemoryError), preventing legitimate connections from being processed. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

CVSS3: 7.5
redhat
около 2 месяцев назад

Netty is a network application framework for development of protocol servers and clients. In netty-codec-redis prior to versions 4.1.135.Final and 4.2.15.Final, an attacker can cause DoS by sending crafted Redis payloads across multiple connections without `\r\n`. This exhausts the server's direct memory pool (OutOfDirectMemoryError), preventing legitimate connections from being processed. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

CVSS3: 7.5
nvd
около 2 месяцев назад

Netty is a network application framework for development of protocol servers and clients. In netty-codec-redis prior to versions 4.1.135.Final and 4.2.15.Final, an attacker can cause DoS by sending crafted Redis payloads across multiple connections without `\r\n`. This exhausts the server's direct memory pool (OutOfDirectMemoryError), preventing legitimate connections from being processed. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

CVSS3: 7.5
debian
около 2 месяцев назад

Netty is a network application framework for development of protocol s ...

suse-cvrf
около 1 месяца назад

Security update for netty, netty-tcnative

EPSS

Процентиль: 37%
0.00449
Низкий

7.5 High

CVSS3

Дефекты

CWE-400