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

[CVE catalog]

Severity
Medium · CVSS 6.2CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannettysid1:4.1.48-16fixed
Debiannettyforky1:4.1.48-16fixed
Debiannettytrixie1:4.1.48-10+deb13u1fixed
Debiannettytrixie-security1:4.1.48-10+deb13u1fixed
Debiannettybookworm1:4.1.48-7+deb12u2fixed
Debiannettybookworm-security1:4.1.48-7+deb12u2fixed
CpenettyNot reported4.1.59fixed
Cpedebian_linuxNot reportedNot reportedunknown
Cpedebian_linuxNot reportedNot reportedunknown
CpequarkusNot reportedNot reportedunknown
Cpebanking_corporate_lending_process_managementNot reportedNot reportedunknown
Cpebanking_corporate_lending_process_managementNot reportedNot reportedunknown
Cpebanking_corporate_lending_process_managementNot reportedNot reportedunknown
Cpebanking_credit_facilities_process_managementNot reportedNot reportedunknown
Cpebanking_credit_facilities_process_managementNot reportedNot reportedunknown
Cpebanking_credit_facilities_process_managementNot reportedNot reportedunknown
Cpebanking_trade_finance_process_managementNot reportedNot reportedunknown
Cpebanking_trade_finance_process_managementNot reportedNot reportedunknown
Cpebanking_trade_finance_process_managementNot reportedNot reportedunknown
Cpecommunications_brm_-_elastic_charging_engineNot reportedNot reportedunknown
Cpecommunications_design_studioNot reportedNot reportedunknown
Cpecommunications_messaging_serverNot reportedNot reportedunknown
Cpenosql_databaseNot reported20.3fixed
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpecloud_secure_agentNot reportedNot reportedunknown
Ubuntunettypro1:4.1.33-1vulnerable
Ubuntunettypro1:4.1.33-2vulnerable
Ubuntunettypro1:4.1.33-3vulnerable
Ubuntunettypro1:4.1.45-1vulnerable
Ubuntunettypro1:4.1.45-1ubuntu0.1~esm1fixed
Ubuntunetty22.041:4.1.48-4vulnerable
Ubuntunetty22.041:4.1.48-4+deb11u1build0.22.04.1fixed
Opensusenettyleap 15.34.1.75-150200.4.6.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannettysourcesid1:4.1.48-2not yet assignedNot reported[982580]
Debiannettysourceforky1:4.1.48-2not yet assignedNot reported[982580]
Debiannettysourcetrixie1:4.1.48-2not yet assignedNot reported[982580]
Debiannettysourcebookworm1:4.1.48-2not yet assignedNot reported[982580]
CpenettycpeNot reported4.1.59Not reportedNVD-CVE-2021-21290Not reported
Cpenosql_databasecpeNot reported20.3Not reportedNVD-CVE-2021-21290Not reported
Ubuntunettydebpro1:4.1.45-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-21290Not reported
Ubuntunettydeb22.041:4.1.48-4+deb11u1build0.22.04.1Not reportedUBUNTU-CVE-2021-21290Not reported
Opensusenettyrpmleap 15.34.1.75-150200.4.6.2Not reportedSUSE-SU-2022:1271-1Not reported

[Debian bug #982580]

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 · bookworm

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · bookworm; nvd · netty · debian · 12

    • 1:4.1.48-7+deb12u2 · all · bookworm

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · bookworm; nvd · netty · debian · 12

    • 1:4.1.48-7+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · bookworm; nvd · netty · debian · 12

    • 1:4.1.48-7+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:4.1.48-2

      nvd · 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 · trixie

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · 13

    • 1:4.1.48-10+deb13u1 · all · trixie

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · 13

    • 1:4.1.48-10+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · 13

    • 1:4.1.48-10+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:4.1.48-2

      nvd · netty · debian · 13

Observed:

References