WaratekVRT Sign in

CVE-2021-21290 Netty

Affected softwareNetty
Severity6.2 Medium CVSS 3.1 3 scores
Fixed in4.1.59.Final
WeaknessCWE-378
Published8 Feb 2021
Updated8 Oct 2026

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.

CWE-379CWE-668

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.8% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available security rule
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Protected by Waratek.

How to mitigate CVE-2021-21290

Upgrade Netty to 4.1.59.Final or later. Until you can, Waratek RASP blocks exploitation with a security rule that blocks this kind of attack. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.2 MEDIUM v3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.2 MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N security-advisories@github.com Secondary published
CVSS 3.1 5.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N NVD Primary
CVSS 2.0 1.9 none AV:L/AC:M/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2021 ↗ CPU 2021-Q3 Oracle Communications Applications / Modeling (Netty) (7.4.2)
Oracle Hospitality Applications / Spa and Leisure (Netty) (8.13, 8.14)
Oracle PeopleSoft / Elastic Search (Netty) (8.57, 8.58, 8.59)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Applications Modeling (Netty) 7.4.2 7.4.2
Oracle Hospitality Applications Spa and Leisure (Netty) 8.13, 8.14 8.13 · 8.14
Oracle PeopleSoft Elastic Search (Netty) 8.57, 8.58, 8.59 8.57 · 8.58 · 8.59

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.netty:netty-codec-http 4.0.0 4.1.59.Final unbounded
org.jboss.netty:netty 0 none unbounded
io.netty:netty 0 none unbounded

Products and versions

16 products, 23 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 9.0 · 10.0
osv io.netty netty generic any version
osv io.netty netty-codec-http generic ≥ 4.0.0 and < 4.1.59
nvd netapp active iq unified manager generic any version
nvd netapp cloud secure agent generic any version
nvd netapp snapcenter generic any version
nvd netty netty generic < 4.1.59
nvd oracle banking corporate lending process management generic 14.2.0 · 14.3.0 · 14.5.0
nvd oracle banking credit facilities process management generic 14.2.0 · 14.3.0 · 14.5.0
nvd oracle banking trade finance process management generic 14.2.0 · 14.3.0 · 14.5.0
nvd oracle communications brm - elastic charging engine generic 12.0.0.3
nvd oracle communications design studio generic 7.4.2
nvd oracle communications messaging server generic 8.1
nvd oracle nosql database generic < 20.3
osv org.jboss.netty netty generic any version
nvd quarkus quarkus generic ≤ 1.13.7

Earlier manual review

A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.

## Manual Classification Context **Labels:** ELASTIC SEARCH (NETTY), MODELING (NETTY), SPA AND LEISURE (NETTY) **Products:** ORACLE PEOPLESOFT, ORACLE HOSPITALITY SUITE8, ORACLE COMMUNICATIONS DESIGN STUDIO, PEOPLESOFT ENTERPRISE PEOPLETOOLS, ORACLE HOSPITALITY APPLICATIONS, ORACLE COMMUNICATIONS APPLICATIONS

References

URLTags
https://github.com/netty/netty/security/advisories/GHSA-5mcr-gq6c-3hq2 WEB
https://github.com/netty/netty/commit/c735357bf29d07856ad171c6611a2e1a0e0000ec WEB
https://github.com/netty/netty PACKAGE
https://lists.apache.org/thread.html/r7bb3cdc192e9a6f863d3ea05422f09fa1ae2b88d4663e63696ee7ef5@%3Cdev.ranger.apache.org%3E WEB
https://lists.apache.org/thread.html/r9924ef9357537722b28d04c98a189750b80694a19754e5057c34ca48@%3Ccommits.pulsar.apache.org%3E WEB
https://lists.apache.org/thread.html/ra0fc2b4553dd7aaf75febb61052b7f1243ac3a180a71c01f29093013@%3Cjira.kafka.apache.org%3E WEB
https://lists.apache.org/thread.html/ra503756ced78fdc2136bd33e87cb7553028645b261b1f5c6186a121e@%3Cjira.kafka.apache.org%3E WEB
https://lists.apache.org/thread.html/rb06c1e766aa45ee422e8261a8249b561784186483e8f742ea627bda4@%3Cdev.kafka.apache.org%3E WEB
https://lists.apache.org/thread.html/rb51d6202ff1a773f96eaa694b7da4ad3f44922c40b3d4e1a19c2f325@%3Ccommits.pulsar.apache.org%3E WEB
https://lists.apache.org/thread.html/rb592033a2462548d061a83ac9449c5ff66098751748fcd1e2d008233@%3Cissues.zookeeper.apache.org%3E WEB

Timeline

Published2021-02-08By the CVE Program.
NVD record modified2026-10-08NVD's own last-modified date for this record.