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

exploitDog

github логотип

GHSA-h2qv-fj59-j46j

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

Описание

Netty HAProxy: Unbalanced Reference Count in Nested PP2_TYPE_SSL TLV Parsing Leads to Memory Exhaustion

Impact

The HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested PP2_TYPE_SSL TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the HAProxyMessage normally. Yet the underlying cumulation buffer (a pooled, potentially direct ByteBuf allocated by the channel) remains permanently pinned.

Пакеты

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

io.netty:netty-codec-haproxy

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

>= 4.2.0.Final, <= 4.2.14.Final

4.2.15.Final

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

io.netty:netty-codec-haproxy

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

<= 4.1.134.Final

4.1.135.Final

EPSS

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

8.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-1286
CWE-401

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

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

Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, the HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. 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. Prior to versions 4.1.135.Final and 4.2.15.Final, the HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. 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. Prior to versions 4.1.135.Final and 4.2.15.Final, the HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. 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
29 дней назад

Security update for netty, netty-tcnative

EPSS

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

8.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-1286
CWE-401