CVE-2021-21290 contains an incomplete fix, and this CVE-2022-24823 addresses the issue found in netty. When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing of uploads on the disk is enabled.
CVE-2021-21290 contains an incomplete fix, and this CVE-2022-24823 addresses the issue found in netty. When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing of uploads on the disk is enabled.
This issue 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.
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.