Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21290

published medium CVSS 3.1 · 6.2

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

Published
08 Feb 2021, 20:10:16 UTC
Updated
08 Oct 2026, 21:14:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
netty — netty< 4.1.59.Final Affected Not stated GitHub_M
Debian buster netty Advisory build 1:4.1.33-1+deb10u2 DSA-4885-1
SUSE / openSUSE openSUSE-Leap-15.3 nettyaarch64 Advisory build 4.1.75-150200.4.6.2 SUSE-SU-2022:1271-1
Ubuntu bionic netty Advisory build 1:4.1.7-4ubuntu0.1+esm2 USN-6049-1
Rocky Linux 8 libdbsrc Listed in advisory Not stated RLSA-2022:5498
Debian stretch netty Advisory build 1:4.1.7-2+deb9u3 DLA-2555-1
SUSE / openSUSE openSUSE-Leap-15.3 nettyppc64le Advisory build 4.1.75-150200.4.6.2 SUSE-SU-2022:1271-1
SUSE / openSUSE openSUSE-Leap-15.3 nettys390x Advisory build 4.1.75-150200.4.6.2 SUSE-SU-2022:1271-1
Show 29 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-15.3 nettyx86_64 Advisory build 4.1.75-150200.4.6.2 SUSE-SU-2022:1271-1
SUSE / openSUSE openSUSE-Tumbleweed nettyaarch64 Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed nettyppc64le Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed nettys390x Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed nettyx86_64 Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
Ubuntu focal netty Advisory build 1:4.1.45-1ubuntu0.1~esm1 USN-6049-1
Ubuntu jammy netty Advisory build 1:4.1.48-4+deb11u1build0.22.04.1 USN-6049-1
Ubuntu xenial netty Advisory build 1:4.0.34-1ubuntu0.1~esm1 USN-6049-1
SUSE / openSUSE openSUSE-Leap-15.3 netty-javadocnoarch Advisory build 4.1.75-150200.4.6.2 SUSE-SU-2022:1271-1
SUSE / openSUSE openSUSE-Leap-15.3 netty-pomsnoarch Advisory build 4.1.75-150200.4.6.2 SUSE-SU-2022:1271-1
SUSE / openSUSE openSUSE-Tumbleweed netty-javadocaarch64 Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-javadocppc64le Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-javadocs390x Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-javadocx86_64 Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-pomsaarch64 Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-pomsppc64le Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-pomss390x Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
SUSE / openSUSE openSUSE-Tumbleweed netty-pomsx86_64 Advisory build 4.1.60-1.4 OPENSUSE-SU-2024:11085-1
Ubuntu bionic libnetty-java Advisory build 1:4.1.7-4ubuntu0.1+esm2 USN-6049-1
Ubuntu focal libnetty-java Advisory build 1:4.1.45-1ubuntu0.1~esm1 USN-6049-1
Ubuntu jammy libnetty-java Advisory build 1:4.1.48-4+deb11u1build0.22.04.1 USN-6049-1
Ubuntu xenial libnetty-java Advisory build 1:4.0.34-1ubuntu0.1~esm1 USN-6049-1
Rocky Linux 8 libdb-cxxx86_64 Listed in advisory Not stated RLSA-2022:5498
Rocky Linux 8 libdb-cxx-debuginfox86_64 Listed in advisory Not stated RLSA-2022:5498
Rocky Linux 8 libdb-debuginfox86_64 Listed in advisory Not stated RLSA-2022:5498
Rocky Linux 8 libdb-debugsourcex86_64 Listed in advisory Not stated RLSA-2022:5498
Rocky Linux 8 libdb-sql-debuginfox86_64 Listed in advisory Not stated RLSA-2022:5498
Rocky Linux 8 libdb-sql-devel-debuginfox86_64 Listed in advisory Not stated RLSA-2022:5498
Rocky Linux 8 libdb-utils-debuginfox86_64 Listed in advisory Not stated RLSA-2022:5498

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.2 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
netty netty < 4.1.59.Final (affected) GitHub_M · cna

Weaknesses

2
  • CWE-378 CWE-378: Creation of Temporary File With Insecure Permissions (GitHub_M · cna)
  • CWE-379 CWE-379: Creation of Temporary File in Directory with Insecure Permissions (GitHub_M · cna)

References

39

Provider assertions

3

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
31d815b3dccd2f70eba2a22a1b4684f6bbd78f034d1618affe7fc63e53012b87
Ingested
09 Oct 2026, 16:22:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected