Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 851711

Summary: dev-java/netty: Local Information Disclosure Vulnerability
Product: Gentoo Security Reporter: Federico Justus Denkena <federico.denkena>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED INVALID    
Severity: trivial CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/netty/netty/security/advisories/GHSA-269q-hmxg-m83q
Whiteboard: ~4 [ebuild]
Package list:
Runtime testing required: ---

Description Federico Justus Denkena 2022-06-13 14:06:47 UTC
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.

Reproducible: Always
Comment 1 Federico Justus Denkena 2022-06-13 14:09:42 UTC
Fixed in 4.1.77.Final
Comment 2 Volkmar W. Pogatzki 2022-06-13 15:37:47 UTC
netty-codec-http-4.1.58 seems to be the highest affected version:
https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.58.Final

But dev-java/netty-4.1.35 does not have the netty-codec-http module.

NETTY_MODULES=(
	"common"
	"resolver"
	"buffer"
	"transport"
)
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-13 18:16:27 UTC
Adjusting summary and whiteboard as we don't have a fixed version in tree yet.

(In reply to Volkmar W. Pogatzki from comment #2)
> netty-codec-http-4.1.58 seems to be the highest affected version:
> https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.58.Final
> 
> But dev-java/netty-4.1.35 does not have the netty-codec-http module.
> 
> NETTY_MODULES=(
> 	"common"
> 	"resolver"
> 	"buffer"
> 	"transport"
> )

Just to be clear, are you saying we're unaffected here?
Comment 4 Volkmar W. Pogatzki 2022-06-13 18:40:43 UTC
(In reply to John Helmert III from comment #3)
> [...]
> Just to be clear, are you saying we're unaffected here?

Exactly.
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-13 20:50:12 UTC
Thanks! Invalid then.

9ts64j2: Note that you didn't do anything wrong here, netty is weird and hard to track what vulnerabilities affect us.