PT-2026-47581 · Maven · Io.Netty:Netty-Transport-Native-Epoll+1

Publicado

2026-06-08

·

Atualizado

2026-06-08

CVSS v3.1

4.0

Média

VetorAV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
netty unix socket recvFd sets msg control to char control[CMSG SPACE(sizeof(int))] (line 940) — 24 bytes on 64-bit Linux. A peer-sent SCM RIGHTS cmsg carrying two ints has cmsg len = CMSG LEN(8) = 24, which fits exactly with no MSG CTRUNC, so the kernel installs both fds in the receiving process. The subsequent check cmsg->cmsg len == CMSG LEN(sizeof(int)) (line 972, expected 20) fails, the branch that would read the fd is skipped, and neither installed fd is closed. The for(;;) loop calls recvmsg again (non-blocking → EAGAIN → Java maps to 0 → read loop exits normally), leaving two leaked fds per message. There is no MSG CTRUNC handling. Reachable via Epoll/KQueue DomainSocketChannel when the application opts into DomainSocketReadMode.FILE DESCRIPTORS (non-default).

Correção

Information Disclosure

Missing Release of Resource after Effective Lifetime

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

GHSA-W573-9FFJ-6FF9

Produtos afetados

Io.Netty:Netty-Transport-Native-Epoll
Io.Netty:Netty-Transport-Native-Kqueue