Bug 1182103 - (CVE-2021-21290) VUL-1: CVE-2021-21290: netty: Information disclosure via the local system temporary directory
(CVE-2021-21290)
VUL-1: CVE-2021-21290: netty: Information disclosure via the local system tem...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/277440/
CVSSv3.1:SUSE:CVE-2021-21290:2.9:(AV:...
:
Depends on: CVE-2022-24823
Blocks:
  Show dependency treegraph
 
Reported: 2021-02-11 08:37 UTC by Alexandros Toptsoglou
Modified: 2022-10-27 13:24 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2021-02-11 08:37:35 UTC
CVE-2021-21290

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.

References:

https://github.com/netty/netty/commit/c735357bf29d07856ad171c6611a2e1a0e0000ec
https://github.com/netty/netty/security/advisories/GHSA-5mcr-gq6c-3hq2

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1927028
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-21290
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21290
https://github.com/netty/netty/commit/c735357bf29d07856ad171c6611a2e1a0e0000ec
https://github.com/netty/netty/security/advisories/GHSA-5mcr-gq6c-3hq2
Comment 7 Swamp Workflow Management 2022-04-20 10:27:10 UTC
SUSE-SU-2022:1271-1: An update that fixes 5 vulnerabilities is now available.

Category: security (important)
Bug References: 1182103,1183262,1190610,1190613,1193672
CVE References: CVE-2021-21290,CVE-2021-21295,CVE-2021-37136,CVE-2021-37137,CVE-2021-43797
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    netty-4.1.75-150200.4.6.2
openSUSE Leap 15.3 (src):    netty-4.1.75-150200.4.6.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Swamp Workflow Management 2022-10-18 16:24:52 UTC
SUSE-SU-2022:3617-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1168932,1182103,1190610,1190613
CVE References: CVE-2020-11612,CVE-2021-21290,CVE-2021-37136,CVE-2021-37137
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for SUSE Manager Server 4.2 (src):    netty-4.1.44.Final-150300.4.3.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 Swamp Workflow Management 2022-10-26 14:18:42 UTC
SUSE-SU-2022:3760-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1168932,1182103,1190610,1190613
CVE References: CVE-2020-11612,CVE-2021-21290,CVE-2021-37136,CVE-2021-37137
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for SUSE Manager Server 4.3 (src):    netty-4.1.44.Final-150400.3.3.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Swamp Workflow Management 2022-10-27 13:24:26 UTC
SUSE-SU-2022:3793-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1168932,1182103,1190610,1190613
CVE References: CVE-2020-11612,CVE-2021-21290,CVE-2021-37136,CVE-2021-37137
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for SUSE Manager Server 4.1 (src):    netty-4.1.44.Final-150200.3.4.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.