
CVE catalog
CVE-2021-21290
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
- Severity
- Medium · CVSS 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.78% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | netty | sid | 1:4.1.48-16 | fixed |
| Debian | netty | forky | 1:4.1.48-16 | fixed |
| Debian | netty | trixie | 1:4.1.48-10+deb13u1 | fixed |
| Debian | netty | trixie-security | 1:4.1.48-10+deb13u1 | fixed |
| Debian | netty | bookworm | 1:4.1.48-7+deb12u2 | fixed |
| Debian | netty | bookworm-security | 1:4.1.48-7+deb12u2 | fixed |
| Cpe | netty | Not reported | 4.1.59 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | quarkus | Not reported | Not reported | unknown |
| Cpe | banking_corporate_lending_process_management | Not reported | Not reported | unknown |
| Cpe | banking_corporate_lending_process_management | Not reported | Not reported | unknown |
| Cpe | banking_corporate_lending_process_management | Not reported | Not reported | unknown |
| Cpe | banking_credit_facilities_process_management | Not reported | Not reported | unknown |
| Cpe | banking_credit_facilities_process_management | Not reported | Not reported | unknown |
| Cpe | banking_credit_facilities_process_management | Not reported | Not reported | unknown |
| Cpe | banking_trade_finance_process_management | Not reported | Not reported | unknown |
| Cpe | banking_trade_finance_process_management | Not reported | Not reported | unknown |
| Cpe | banking_trade_finance_process_management | Not reported | Not reported | unknown |
| Cpe | communications_brm_-_elastic_charging_engine | Not reported | Not reported | unknown |
| Cpe | communications_design_studio | Not reported | Not reported | unknown |
| Cpe | communications_messaging_server | Not reported | Not reported | unknown |
| Cpe | nosql_database | Not reported | 20.3 | fixed |
| Cpe | active_iq_unified_manager | Not reported | Not reported | unknown |
| Cpe | active_iq_unified_manager | Not reported | Not reported | unknown |
| Cpe | cloud_secure_agent | Not reported | Not reported | unknown |
| Ubuntu | netty | pro | 1:4.1.33-1 | vulnerable |
| Ubuntu | netty | pro | 1:4.1.33-2 | vulnerable |
| Ubuntu | netty | pro | 1:4.1.33-3 | vulnerable |
| Ubuntu | netty | pro | 1:4.1.45-1 | vulnerable |
| Ubuntu | netty | pro | 1:4.1.45-1ubuntu0.1~esm1 | fixed |
| Ubuntu | netty | 22.04 | 1:4.1.48-4 | vulnerable |
| Ubuntu | netty | 22.04 | 1:4.1.48-4+deb11u1build0.22.04.1 | fixed |
| Opensuse | netty | leap 15.3 | 4.1.75-150200.4.6.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | netty | source | sid | 1:4.1.48-2 | not yet assigned | Not reported | [982580] |
| Debian | netty | source | forky | 1:4.1.48-2 | not yet assigned | Not reported | [982580] |
| Debian | netty | source | trixie | 1:4.1.48-2 | not yet assigned | Not reported | [982580] |
| Debian | netty | source | bookworm | 1:4.1.48-2 | not yet assigned | Not reported | [982580] |
| Cpe | netty | cpe | Not reported | 4.1.59 | Not reported | NVD-CVE-2021-21290 | Not reported |
| Cpe | nosql_database | cpe | Not reported | 20.3 | Not reported | NVD-CVE-2021-21290 | Not reported |
| Ubuntu | netty | deb | pro | 1:4.1.45-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-21290 | Not reported |
| Ubuntu | netty | deb | 22.04 | 1:4.1.48-4+deb11u1build0.22.04.1 | Not reported | UBUNTU-CVE-2021-21290 | Not reported |
| Opensuse | netty | rpm | leap 15.3 | 4.1.75-150200.4.6.2 | Not reported | SUSE-SU-2022:1271-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libnetty-java]Unknown
Source package: [netty]
Details (4)
1:4.1.48-7+deb12u2· all · bookwormFixed · Fixed:
1:4.1.48-2nvd · netty · debian · bookworm; nvd · netty · debian · 12
1:4.1.48-7+deb12u2· all · bookwormFixed · Fixed:
1:4.1.48-2nvd · netty · debian · bookworm; nvd · netty · debian · 12
1:4.1.48-7+deb12u2· all · bookworm-securityFixed · Fixed:
1:4.1.48-2nvd · netty · debian · bookworm; nvd · netty · debian · 12
1:4.1.48-7+deb12u2· all · bookworm-securityFixed · Fixed:
1:4.1.48-2nvd · netty · debian · bookworm; nvd · netty · debian · 12
[Debian 13 (Trixie)]
- [libnetty-java]Unknown
Source package: [netty]
Details (4)
1:4.1.48-10+deb13u1· all · trixieFixed · Fixed:
1:4.1.48-2nvd · netty · debian · 13
1:4.1.48-10+deb13u1· all · trixieFixed · Fixed:
1:4.1.48-2nvd · netty · debian · 13
1:4.1.48-10+deb13u1· all · trixie-securityFixed · Fixed:
1:4.1.48-2nvd · netty · debian · 13
1:4.1.48-10+deb13u1· all · trixie-securityFixed · Fixed:
1:4.1.48-2nvd · netty · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_1271-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-21290]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-21290]
- [https://osv.dev/vulnerability/DLA-2555-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:1271-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-21290]
- [https://security-tracker.debian.org/tracker/CVE-2021-21290]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-21290.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0794.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]