← voltar
CVE-2022-24823

Local Information Disclosure Vulnerability in io.netty:netty-codec-http

CVSS 5.5 MEDIUMEPSS 1.0%CWE-378CWE-379CWE-668
Em resumo

O Netty tem um problema na forma como guarda arquivos enviados temporariamente no disco; em sistemas antigos, outros usuários da máquina conseguem ler esses arquivos. Isso coloca em risco a privacidade dos dados carregados.

Detalhe técnico

A correção anterior (CVE-2021-21290) foi insuficiente: o decoder multipart ainda deixa arquivos temporários legíveis por outros usuários locais em sistemas Unix com diretório /tmp compartilhado (Java 6 e inferiores). Requer armazenamento temporário em disco ativado e acesso local ao sistema; o impacto é vazamento de arquivos de upload. Solução: atualizar para 4.1.77.Final, configurar java.io.tmpdir customizado ou definir diretório com permissões restritas via DefaultHttpDataFactory.setBaseDir().

Resumo gerado e traduzido por IA a partir da descrição oficial.
Netty is an open-source, asynchronous event-driven network application framework. The package `io.netty:netty-codec-http` prior to version 4.1.77.Final contains an insufficient fix for CVE-2021-21290. When Netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. This only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users. Version 4.1.77.Final contains a patch for this vulnerability. As a workaround, specify one's own `java.io.tmpdir` when starting the JVM or use DefaultHttpDataFactory.setBaseDir(...) to set the directory to something that is only readable by the current user.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Produtos afetados
netty · netty

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →