Related Vulnerabilities: CVE-2022-24823  

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.

Description

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.

Statement

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.

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.

Mitigation

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.

Additional Information

  • Bugzilla 2087186: CVE-2022-24823 netty: world readable temporary file containing sensitive data
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • FAQ: Frequently asked questions about CVE-2022-24823