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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| netty | netty | < 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | io.netty:netty-codec-http | >= 4.0.0, < 4.1.59.Final | 4.1.59.Final | GHSA-5mcr-gq6c-3hq2 |
| Maven | org.jboss.netty:netty | >= 0 | none listed | GHSA-5mcr-gq6c-3hq2 |
| Maven | io.netty:netty | >= 0 | none listed | GHSA-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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| netty | netty | before 4.1.59 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| quarkus | quarkus | through 1.13.7 | application |
| oracle | banking corporate lending process management | 14.2.0 | application |
| oracle | banking corporate lending process management | 14.3.0 | application |
| oracle | banking corporate lending process management | 14.5.0 | application |
| oracle | banking credit facilities process management | 14.2.0 | application |
| oracle | banking credit facilities process management | 14.3.0 | application |
| oracle | banking credit facilities process management | 14.5.0 | application |
| oracle | banking trade finance process management | 14.2.0 | application |
| oracle | banking trade finance process management | 14.3.0 | application |
| oracle | banking trade finance process management | 14.5.0 | application |
| oracle | communications brm - elastic charging engine | 12.0.0.3 | application |
| oracle | communications design studio | 7.4.2 | application |
| oracle | communications messaging server | 8.1 | application |
| oracle | nosql database | before 20.3 | application |
| netapp | active iq unified manager | all versions | application |
| netapp | cloud secure agent | all versions | application |
| netapp | snapcenter | all versions | application |
NVD analysis (status Modified), last modified October 8, 2026, 22:17 UTC.
How severe is CVE-2021-21290?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Low 1.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:P/I:N/A:N | NVD |
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?
- CWE-378 Creation of Temporary File With Insecure Permissions
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
- CWE-668 Exposure of Resource to Wrong Sphere
Where are the vendor advisories and references?
- https://github.com/netty/netty/security/advisories/GHSA-5mcr-gq6c-3hq2 x_refsource_CONFIRM
- https://github.com/netty/netty/commit/c735357bf29d07856ad171c6611a2e1a0e0000ec x_refsource_MISC
- [debian-lts-announce] 20210211 [SECURITY] [DLA 2555-1] netty security update mailing-list, x_refsource_MLIST
- [kafka-jira] 20210301 [jira] [Created] (KAFKA-12389) Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-dev] 20210301 [jira] [Created] (KAFKA-12389) Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210301 [jira] [Assigned] (KAFKA-12389) Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210301 [GitHub] [kafka] dongjinleekr opened a new pull request #10235: KAFKA-12389: Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210301 [GitHub] [kafka] dongjinleekr commented on pull request #10235: KAFKA-12389: Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-dev] 20210302 [jira] [Resolved] (KAFKA-12389) Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210302 [jira] [Resolved] (KAFKA-12389) Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210302 [GitHub] [kafka] omkreddy closed pull request #10235: KAFKA-12389: Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-commits] 20210302 [kafka] branch 2.6 updated: KAFKA-12389: Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-commits] 20210302 [kafka] branch 2.7 updated: KAFKA-12389: Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210302 [GitHub] [kafka] dongjinleekr commented on pull request #10235: KAFKA-12389: Upgrade of netty-codec due to CVE-2021-21290 mailing-list, x_refsource_MLIST
- [zookeeper-issues] 20210311 [jira] [Created] (ZOOKEEPER-4242) Upgrade Netty library to > 4.1.59 due to security vulnerability mailing-list, x_refsource_MLIST
- [zookeeper-dev] 20210311 [jira] [Created] (ZOOKEEPER-4242) Upgrade Netty library to > 4.1.59 due to security vulnerability mailing-list, x_refsource_MLIST
- [tinkerpop-dev] 20210316 [jira] [Created] (TINKERPOP-2535) Netty 4.1.52 flagged as medium security violation mailing-list, x_refsource_MLIST
- [ranger-dev] 20210317 [jira] [Created] (RANGER-3209) Upgrade netty to 4.1.60+ due to CVE-2021-21290 and CVE-2021-21295 mailing-list, x_refsource_MLIST
- [ranger-dev] 20210317 [jira] [Assigned] (RANGER-3209) Upgrade netty to 4.1.60+ due to CVE-2021-21290 and CVE-2021-21295 mailing-list, x_refsource_MLIST
- [pulsar-commits] 20210329 [GitHub] [pulsar] yaswanthnadella opened a new issue #10071: CVE-2021-21295 & CVE-2021-21290 mailing-list, x_refsource_MLIST
- [pulsar-commits] 20210329 [GitHub] [pulsar] aahmed-se opened a new pull request #10073: Upgrade Netty version to 4.1.60.final mailing-list, x_refsource_MLIST
- [pulsar-commits] 20210329 [GitHub] [pulsar] merlimat closed issue #10071: CVE-2021-21295 & CVE-2021-21290 mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210330 [GitHub] [bookkeeper] eolivelli opened a new issue #2669: Update Netty to 4.1.60.final mailing-list, x_refsource_MLIST
- [zookeeper-dev] 20210330 [jira] [Created] (ZOOKEEPER-4272) Upgrade Netty library to > 4.1.60 due to security vulnerability CVE-2021-21295 mailing-list, x_refsource_MLIST
- [kafka-dev] 20210330 [jira] [Created] (KAFKA-12583) Upgrade of netty-codec due to CVE-2021-21295 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210330 [jira] [Updated] (KAFKA-12583) Upgrade of netty-codec due to CVE-2021-21295 mailing-list, x_refsource_MLIST
- [zookeeper-issues] 20210330 [jira] [Created] (ZOOKEEPER-4272) Upgrade Netty library to > 4.1.60 due to security vulnerability CVE-2021-21295 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210330 [jira] [Created] (KAFKA-12583) Upgrade of netty-codec due to CVE-2021-21295 mailing-list, x_refsource_MLIST
- [zookeeper-issues] 20210330 [jira] [Updated] (ZOOKEEPER-4272) Upgrade Netty library to > 4.1.60 due to security vulnerability CVE-2021-21295 mailing-list, x_refsource_MLIST
- [zookeeper-issues] 20210402 [jira] [Commented] (ZOOKEEPER-4272) Upgrade Netty library to > 4.1.60 due to security vulnerability CVE-2021-21295 mailing-list, x_refsource_MLIST
- DSA-4885 vendor-advisory, x_refsource_DEBIAN
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://lists.apache.org/thread.html/r0053443ce19ff125981559f8c51cf66e3ab4350f47812b8cf0733a05%40%3Cdev.kafka.apache.org%3E x_refsource_MISC
- [activemq-users] 20210715 Next ActiveMQ Artemis Release - CVE-2021-21290 vulnerability mailing-list, x_refsource_MLIST
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- [pulsar-commits] 20211020 [GitHub] [pulsar] Shoothzj opened a new pull request #12437: [Security] Bump grpc to 1.41.0 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220210-0011/ x_refsource_CONFIRM
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?
- Oct 10, 2023CVE-2023-44487 Siemens Simatic S7-1500 Cpu 1518f-4 Pn\/dp Mfp Firmware: denial of service (uncontrolled resource consumption) exploited
- Sep 26, 2026CVE-2026-100666 netty: HTTP request smuggling
- Sep 26, 2026CVE-2026-100665 netty: improper certificate validation
- Sep 26, 2026CVE-2026-100664 netty: improper input validation
- Sep 26, 2026CVE-2026-100663 netty: improper input validation
- Sep 26, 2026CVE-2026-100662 netty: denial of service (uncontrolled resource consumption)
- Sep 26, 2026CVE-2026-100661 netty: denial of service (uncontrolled resource consumption)
- Sep 26, 2026CVE-2026-100660 netty: denial of service (resources allocated without limits)
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.