Security mailing lists by PureSourceCode

CVE-2021-21290

MEDIUM 5.5CVSS 3.1

Local Information Disclosure Vulnerability in Netty on Unix-Like systems

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.

Published
8 Feb 2021
Last modified
8 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-378CWE-379CWE-668
Also known as
GHSA-5mcr-gq6c-3hq2
Sources
NVDJSONOSV GHSA-5mcr-gq6c-3hq2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 1.9 AV:L/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD netty netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
< 4.1.59 4.1.59
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD quarkus quarkus
cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:*
<= 1.13.7
NVD oracle banking_corporate_lending_process_management
cpe:2.3:a:oracle:banking_corporate_lending_process_management:14.2.0:*:*:*:*:*:*:*
= 14.2.0
NVD oracle banking_corporate_lending_process_management
cpe:2.3:a:oracle:banking_corporate_lending_process_management:14.3.0:*:*:*:*:*:*:*
= 14.3.0
NVD oracle banking_corporate_lending_process_management
cpe:2.3:a:oracle:banking_corporate_lending_process_management:14.5.0:*:*:*:*:*:*:*
= 14.5.0
NVD oracle banking_credit_facilities_process_management
cpe:2.3:a:oracle:banking_credit_facilities_process_management:14.2.0:*:*:*:*:*:*:*
= 14.2.0
NVD oracle banking_credit_facilities_process_management
cpe:2.3:a:oracle:banking_credit_facilities_process_management:14.3.0:*:*:*:*:*:*:*
= 14.3.0
NVD oracle banking_credit_facilities_process_management
cpe:2.3:a:oracle:banking_credit_facilities_process_management:14.5.0:*:*:*:*:*:*:*
= 14.5.0
NVD oracle banking_trade_finance_process_management
cpe:2.3:a:oracle:banking_trade_finance_process_management:14.2.0:*:*:*:*:*:*:*
= 14.2.0
NVD oracle banking_trade_finance_process_management
cpe:2.3:a:oracle:banking_trade_finance_process_management:14.3.0:*:*:*:*:*:*:*
= 14.3.0
NVD oracle banking_trade_finance_process_management
cpe:2.3:a:oracle:banking_trade_finance_process_management:14.5.0:*:*:*:*:*:*:*
= 14.5.0
NVD oracle communications_brm_-_elastic_charging_engine
cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.3:*:*:*:*:*:*:*
= 12.0.0.3
NVD oracle communications_design_studio
cpe:2.3:a:oracle:communications_design_studio:7.4.2:*:*:*:*:*:*:*
= 7.4.2
NVD oracle communications_messaging_server
cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*
= 8.1
NVD oracle nosql_database
cpe:2.3:a:oracle:nosql_database:*:*:*:*:*:*:*:*
< 20.3 20.3
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:*
(no version)
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
(no version)
NVD netapp cloud_secure_agent
cpe:2.3:a:netapp:cloud_secure_agent:-:*:*:*:*:*:*:*
(no version)
NVD netapp snapcenter
cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*
(no version)
OSV Maven io.netty:netty-codec-http >= 4.0.0, < 4.1.59.Final 4.1.59.Final
OSV Maven org.jboss.netty:netty all versions
OSV Maven io.netty:netty all versions

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Feb 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Feb 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.