QID 980333

QID 980333: Java (maven) Security Update for io.netty:netty-codec-http (GHSA-5mcr-gq6c-3hq2)

Security update has been released for io.netty:netty-codec-http to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

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.

The CVSSv3.1 score of this vulnerability is calculated to be a [6.2/10](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N&version=3.1)

  • CVSS V3 rated as Medium - 5.5 severity.
  • CVSS V2 rated as Low - 1.9 severity.
  • Solution
    This has been patched in version `4.1.59.Final`.Workaround:
    Specify your own `java.io.tmpdir` when you start the JVM or use `DefaultHttpDataFactory.setBaseDir(...)` to set the directory to something that is only readable by the current user.
    Vendor References

    CVEs related to QID 980333

    Software Advisories
    Advisory ID Software Component Link
    GHSA-5mcr-gq6c-3hq2 io.netty:netty-codec-http URL Logo github.com/advisories/GHSA-5mcr-gq6c-3hq2