CVEBrief

Home / netty / netty / CVE-2021-21290

CVE-2021-21290: is it exploited, and which versions of netty are affected and fixed?

CVE-2021-21290 is a creation of Temporary File With Insecure Permissions vulnerability in netty. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: io.netty:netty-codec-http from 4.0.0 before 4.1.59.Final, org.jboss.netty:netty 0 and later, no fix listed and io.netty:netty 0 and later, no fix listed (GitHub advisory GHSA-5mcr-gq6c-3hq2). Fixed in 4.1.59.Final (GitHub advisory GHSA-5mcr-gq6c-3hq2). Severity: Medium (6.2, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:39 UTC
Affected
io.netty:netty-codec-http from 4.0.0 before 4.1.59.Final, org.jboss.netty:netty 0 and later, no fix listed and io.netty:netty 0 and later, no fix listed
GitHub advisory GHSA-5mcr-gq6c-3hq2
Fixed in
4.1.59.Final
GitHub advisory GHSA-5mcr-gq6c-3hq2
Severity
Medium 6.2
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.80% in 30 days
higher than 79% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-21290?

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

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.

From the CVE record by GitHub_M, last updated October 8, 2026, 21:14 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
nettynetty< 4.1.59.Final

As the CVE record by GitHub_M states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenio.netty:netty-codec-http>= 4.0.0, < 4.1.59.Final4.1.59.FinalGHSA-5mcr-gq6c-3hq2
Mavenorg.jboss.netty:netty>= 0none listedGHSA-5mcr-gq6c-3hq2
Mavenio.netty:netty>= 0none listedGHSA-5mcr-gq6c-3hq2

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 19, 2022. Summary: Local Information Disclosure Vulnerability in Netty on Unix-Like systems.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
nettynettybefore 4.1.59application
debiandebian linux9.0operating system
debiandebian linux10.0operating system
quarkusquarkusthrough 1.13.7application
oraclebanking corporate lending process management14.2.0application
oraclebanking corporate lending process management14.3.0application
oraclebanking corporate lending process management14.5.0application
oraclebanking credit facilities process management14.2.0application
oraclebanking credit facilities process management14.3.0application
oraclebanking credit facilities process management14.5.0application
oraclebanking trade finance process management14.2.0application
oraclebanking trade finance process management14.3.0application
oraclebanking trade finance process management14.5.0application
oraclecommunications brm - elastic charging engine12.0.0.3application
oraclecommunications design studio7.4.2application
oraclecommunications messaging server8.1application
oraclenosql databasebefore 20.3application
netappactive iq unified managerall versionsapplication
netappcloud secure agentall versionsapplication
netappsnapcenterall versionsapplication

NVD analysis (status Modified), last modified October 8, 2026, 22:17 UTC.

How severe is CVE-2021-21290?

ScoreVersionVectorSource
Medium 6.2CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD
Low 1.9CVSS 2.0AV:L/AC:M/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-21290 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 8, 2026)
EPSS
1.80% probability of exploitation activity in the next 30 days, percentile 79.2 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 22, 2020
Published
February 8, 2021, 20:10 UTC
CVE record updated
October 8, 2026, 21:14 UTC by GitHub_M
NVD
Modified, last modified October 8, 2026, 22:17 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect netty?

Every CVE in netty

Questions about CVE-2021-21290

Is CVE-2021-21290 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.80% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of netty are affected by CVE-2021-21290?

io.netty:netty-codec-http from 4.0.0 before 4.1.59.Final, org.jboss.netty:netty 0 and later, no fix listed and io.netty:netty 0 and later, no fix listed, per the GitHub advisory GHSA-5mcr-gq6c-3hq2. The tables above give every range the sources list.

Which version fixes CVE-2021-21290?

4.1.59.Final, per the GitHub advisory GHSA-5mcr-gq6c-3hq2. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-21290?

Medium (6.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2021-21290?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.