CVE-2021-21290

Description

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
CVSS v3
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
1.799%
chance of exploitation in the next 30 days
higher than 78.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2026-10-08

Timeline

  1. 2021-02-08Published by the CNA20:10 UTC
  2. 2021-02-08GitHub advisory published (GHSA-5mcr-gq6c-3hq2)same day
  3. 2026-10-08CISA SSVC decision recorded2068 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-5mcr-gq6c-3hq2, affected packages:

PackageVulnerable versionsFixed in
Maven io.netty:nettyfrom 0
Maven io.netty:netty-codec-httpfrom 4.0.0 before 4.1.59.Final4.1.59.Final
Maven org.jboss.netty:nettyfrom 0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
netty nettybefore 4.1.59fixed in 4.1.594.1.59
debian debian_linux10.0no fix listed9.0no fix listednot listednot listed
netapp active_iq_unified_manager
netapp cloud_secure_agent
netapp snapcenter
oracle banking_corporate_lending_process_management14.2.0no fix listed14.3.0no fix listed14.5.0no fix listednot listednot listednot listed
oracle banking_credit_facilities_process_management14.2.0no fix listed14.3.0no fix listed14.5.0no fix listednot listednot listednot listed
oracle banking_trade_finance_process_management14.2.0no fix listed14.3.0no fix listed14.5.0no fix listednot listednot listednot listed
oracle communications_brm_-_elastic_charging_engine12.0.0.3no fix listednot listed
oracle communications_design_studio7.4.2no fix listednot listed
oracle communications_messaging_server8.1no fix listednot listed
oracle nosql_databasebefore 20.3fixed in 20.320.3
quarkus quarkusthrough 1.13.7no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

39 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources