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.
CVE-2021-21290
This medium-severity CVE scores 6.2 under NVD CVSS v3. EPSS exploit probability: 0.0%, top 92% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.2
- EG Score
- 6.2(medium)
- EPSS
- 75.6%
- KEV
- Not listed
Published
February 8, 2021
Last Modified
November 21, 2024
References (78)
- security-advisories@githubhttps://github.com/netty/netty/commit/c735357bf29d07856ad171c6611a2e1a0e0000ec
- security-advisories@githubhttps://github.com/netty/netty/security/advisories/GHSA-5mcr-gq6c-3hq2
- security-advisories@githubhttps://lists.apache.org/thread.html/r0053443ce19ff125981559f8c51cf66e3ab4350f47812b8cf0733a05%40%3Cdev.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r02e467123d45006a1dda20a38349e9c74c3a4b53e2e07be0939ecb3f%40%3Cdev.ranger.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r0857b613604c696bf9743f0af047360baaded48b1c75cf6945a083c5%40%3Cjira.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r10308b625e49d4e9491d7e079606ca0df2f0a4d828f1ad1da64ba47b%40%3Cjira.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r1908a34b9cc7120e5c19968a116ddbcffea5e9deb76c2be4fa461904%40%3Cdev.zookeeper.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r2748097ea4b774292539cf3de6e3b267fc7a88d6c8ec40f4e2e87bd4%40%3Cdev.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r2936730ef0a06e724b96539bc7eacfcd3628987c16b1b99c790e7b87%40%3Cissues.zookeeper.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r2fda4dab73097051977f2ab818f75e04fbcb15bb1003c8530eac1059%40%3Cjira.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r326ec431f06eab7cb7113a7a338e59731b8d556d05258457f12bac1b%40%3Cdev.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r4efed2c501681cb2e8d629da16e48d9eac429624fd4c9a8c6b8e7020%40%3Cdev.tinkerpop.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r584cf871f188c406d8bd447ff4e2fd9817fca862436c064d0951a071%40%3Ccommits.pulsar.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r59bac5c09f7a4179b9e2460e8f41c278aaf3b9a21cc23678eb893e41%40%3Cjira.kafka.apache.org%3E
- security-advisories@githubhttps://lists.apache.org/thread.html/r5bf303d7c04da78f276765da08559fdc62420f1df539b277ca31f63b%40%3Cissues.zookeeper.apache.org%3E
Vendor Advisories for CVE-2021-21290(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2022:5498Red Hat Product SecurityMedium
Red Hat Security Advisory: Satellite 6.11 Release
- RHSA-2022:0190Red Hat Product SecurityMedium
Red Hat Security Advisory: Satellite 6.10.2 Async Bug Fix Update
- RHSA-2021:5134Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Fuse 7.10.0 release and security update
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libnetty-java (1:4.1.48-4+deb11u1build0.22.04.1) @ jammy | 2026-05-26 | ubuntu |
| redhat | candlepin-0:4.1.13-1.el8sat | 2022-07-05 | redhat |
| redhat | netty | 2022-03-29 | redhat |
| redhat | satellite-0:6.10.2-1.el7sat | 2022-01-19 | redhat |
| redhat | patch | 2021-09-30 | redhat |
| redhat | eap7-yasson-0:1.0.9-1.redhat_00001.1.el7eap | 2021-05-19 | redhat |
| redhat | eap7-yasson-0:1.0.9-1.redhat_00001.1.el8eap | 2021-05-19 | redhat |
| redhat | eap7-yasson-0:1.0.9-1.redhat_00001.1.el6eap | 2021-05-19 | redhat |
| redhat | qpid-proton-0:0.33.0-8.el8 | 2021-05-06 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(3 across 1 ecosystem)
Maven(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| io.netty:netty | 3.10.0.Final ... 4.0.0.Alpha8 (71 versions) | — | — |
| io.netty:netty-codec-http | 4.0.0.Final ... 4.1.9.Final (132 versions) | 4.1.59.Final | — |
| org.jboss.netty:netty | 3.0.0.CR1 ... 3.2.9.Final (39 versions) | — | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(18)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2021:0943MODERATE2021-02-09
RHSA-2021:0943 — Moderate
- Red HatRHSA-2021:0986MODERATE2021-02-09
RHSA-2021:0986 — Moderate
- Red HatRHSA-2021:1511MODERATE2021-02-09
RHSA-2021:1511 — Moderate
- Red HatRHSA-2021:2046MODERATE2021-02-09
RHSA-2021:2046 — Moderate
- Red HatRHSA-2021:2047MODERATE2021-02-09
RHSA-2021:2047 — Moderate
- Red HatRHSA-2021:2048MODERATE2021-02-09
RHSA-2021:2048 — Moderate
- Red HatRHSA-2021:2051MODERATE2021-02-09
RHSA-2021:2051 — Moderate
- Red HatRHSA-2021:2070MODERATE2021-02-09
RHSA-2021:2070 — Moderate
- Red HatRHSA-2021:2139MODERATE2021-02-09
RHSA-2021:2139 — Moderate
- Red HatRHSA-2021:2210MODERATE2021-02-09
RHSA-2021:2210 — Moderate
- Red HatRHSA-2021:2689MODERATE2021-02-09
RHSA-2021:2689 — Moderate
- Red HatRHSA-2021:2755MODERATE2021-02-09
RHSA-2021:2755 — Moderate
- Red HatRHSA-2021:3225MODERATE2021-02-09
RHSA-2021:3225 — Moderate
- Red HatRHSA-2021:3700MODERATE2021-02-09
RHSA-2021:3700 — Moderate
- Red HatRHSA-2021:3880MODERATE2021-02-09
RHSA-2021:3880 — Moderate
- Red HatRHSA-2022:1108MODERATE2021-02-09
RHSA-2022:1108 — Moderate
- Red HatRHSA-2022:1110MODERATE2021-02-09
RHSA-2022:1110 — Moderate
- UbuntuUSN-6049-1MEDIUM
Netty vulnerabilities
Data Freshness Timeline
(refreshed 9× in last 7d / 47× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-02 16:57 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 09:18 UTCOSV refresh
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
Show 58 moreShow fewer
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 14:43 UTCOSV refresh
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 21:10 UTCEG score recompute
- 2026-05-26 21:10 UTCVendor advisory
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 16:49 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-668
- CVE-2019-16541EG 9.9CRITICAL
- CVE-2019-20853EG 9.8CRITICAL
- CVE-2019-10781EG 9.8CRITICAL
- CVE-2019-19015EG 9.8CRITICAL
- CVE-2008-7291EG 9.8CRITICAL
- CVE-2019-12929EG 9.8EPSS 91%CRITICAL
- CVE-2019-12928EG 9.8EPSS 97%CRITICAL
- CVE-2018-7846EG 9.8EPSS 98%CRITICAL
- CVE-2018-18068EG 9.8CRITICAL
- CVE-2018-7072EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2021-21290?
When was CVE-2021-21290 disclosed?
Is CVE-2021-21290 actively exploited?
What is the CVSS score of CVE-2021-21290?
How do I remediate CVE-2021-21290?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-21290
Is Your Infrastructure Affected by CVE-2021-21290?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.