Advisory

DEBIAN-CVE-2021-21290

Also known as: CVE-2021-21290

Summary

The record has no summary.

Details

Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty before version 4.1.59.Final there is a vulnerability on Unix-like systems involving an insecure temp file. 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. On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method "File.createTempFile" on unix-like systems creates a random file, but, by default will create this file with the permissions "-rw-r--r--". Thus, if sensitive information is written to this file, other local users can read this information. This is the case in netty's "AbstractDiskHttpData" is vulnerable. This has been fixed in version 4.1.59.Final. As a workaround, one may 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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2021-02-08 20:15 UTC
Modified
2026-10-09 09:47 UTC

Affected packages and fixes

netty

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:4.1.48-2 (ecosystem)

Fixed versions

1:4.1.48-2

Fix

  • Fixed version 1:4.1.48-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

netty

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:4.1.48-2 (ecosystem)

Fixed versions

1:4.1.48-2

Fix

  • Fixed version 1:4.1.48-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

netty

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:4.1.48-2 (ecosystem)

Fixed versions

1:4.1.48-2

Fix

  • Fixed version 1:4.1.48-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences