Skip to main content
Network Thinking Solutions Logo

CVE-2021-21290

Local Information Disclosure Vulnerability in Netty on Unix-Like systems due temporary files

All CVEs
CVE-2021-21290Published 2/8/2021

Local Information Disclosure Vulnerability in Netty on Unix-Like systems due temporary files

Vendor advisory
CVSS6.2Medium

Overview

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.

Published
2/8/2021
Last modified
10/8/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
netty
netty
< 4.1.59

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
quarkus
quarkus
≤ 1.13.7

Verify advisory

Source
banking corporate lending process management
oracle
14.2.0

Verify advisory

Source
banking corporate lending process management
oracle
14.3.0

Verify advisory

Source
banking corporate lending process management
oracle
14.5.0

Verify advisory

Source
banking credit facilities process management
oracle
14.2.0

Verify advisory

Source
banking credit facilities process management
oracle
14.3.0

Verify advisory

Source
banking credit facilities process management
oracle
14.5.0

Verify advisory

Source
banking trade finance process management
oracle
14.2.0

Verify advisory

Source
banking trade finance process management
oracle
14.3.0

Verify advisory

Source
banking trade finance process management
oracle
14.5.0

Verify advisory

Source
communications brm - elastic charging engine
oracle
12.0.0.3

Verify advisory

Source
communications design studio
oracle
7.4.2

Verify advisory

Source
communications messaging server
oracle
8.1

Verify advisory

Source
nosql database
oracle
< 20.3

Verify advisory

Source
active iq unified manager
netapp
Range not specified — verify advisory

linux

Source
active iq unified manager
netapp
Range not specified — verify advisory

windows

Source
cloud secure agent
netapp
Range not specified — verify advisory

Verify advisory

Source
snapcenter
netapp
Range not specified — verify advisory

Verify advisory

Source
netty
netty
< 4.1.59.Final

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.2. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.