cve.bz

CVE-2022-24823 Exposure of Resource to Wrong Sphere

5.5 mediumExploit referenceEPSS 1.0%Fix available

Medium (5.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in io.netty:netty-codec-http 4.1.77.Final.

On this page
Netty is an open-source, asynchronous event-driven network application framework. The package `io.netty:netty-codec-http` prior to version 4.1.77.Final contains an insufficient fix for CVE-2021-21290. 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. This only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users. Version 4.1.77.Final contains a patch for this vulnerability. As a workaround, specify one's own `java.io.tmpdir` when starting the JVM or use DefaultHttpDataFactory.setBaseDir(...) to set the directory to something that is only readable by the current user.

Severity

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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-668 Exposure of Resource to Wrong Sphere
CWE-378 Creation of Temporary File With Insecure Permissions
CWE-379 Creation of Temporary File in Directory with Insecure Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24823 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24823?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24823?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24823 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
netty:nettybefore 4.1.77
oracle:financial_services_crime_and_compliance_management_studio8.0.8.2.0
oracle:financial_services_crime_and_compliance_management_studio8.0.8.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-269q-hmxg-m83qMavenio.netty:netty-codec-http<4.1.77.Final4.1.77.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14nettyno fix listedDEBIAN-CVE-2022-24823
Ubuntu25.10, 26.10, Pro:14.04:LTS and 1 morenettyno fix listedUBUNTU-CVE-2022-24823
UbuntuPro:16.04:LTSnetty1:4.0.34-1ubuntu0.1~esm2UBUNTU-CVE-2022-24823 USN-7284-1
UbuntuPro:18.04:LTSnetty1:4.1.7-4ubuntu0.1+esm3UBUNTU-CVE-2022-24823 USN-7284-1
UbuntuPro:20.04:LTSnetty1:4.1.45-1ubuntu0.1~esm2UBUNTU-CVE-2022-24823 USN-7284-1
UbuntuPro:22.04:LTSnetty1:4.1.48-4+deb11u2ubuntu0.1~esm1UBUNTU-CVE-2022-24823 USN-7284-1
UbuntuPro:24.04:LTSnetty1:4.1.48-9ubuntu0.1~esm1UBUNTU-CVE-2022-24823 USN-7284-1
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-gson0:2.8.9-1.redhat_00001.1.el7eapRHSA-2022:5892
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.13-1.Final_redhat_00001.1.el7eapRHSA-2022:5892
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.77-1.Final_redhat_00001.1.el7eapRHSA-2022:5892
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-gson0:2.8.9-1.redhat_00001.1.el8eapRHSA-2022:5893
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-hal-console0:3.3.13-1.Final_redhat_00001.1.el8eapRHSA-2022:5893
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.77-1.Final_redhat_00001.1.el8eapRHSA-2022:5893
Red Hatjboss_enterprise_application_platform:7.4::el9eap7, eap7-runtime0:1-18.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-FastInfoset, eap7-glassfish-fastinfoset0:1.2.13-11.1.redhat_1.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-9.redhat_00042.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-activemq-artemis-native1:1.0.2-1.redhat_00001.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-aesh-extensions0:1.8.0-1.redhat_00001.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-aesh-readline0:2.2.0-1.redhat_00001.1.el9eapRHSA-2022:5894
181 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morenetty-tcnative2.0.59-150200.3.10.1SUSE-SU-2023:2096-1
SUSELinux Enterprise Module for Development Tools 15 SP5netty-tcnative2.0.59-150200.3.10.1SUSE-SU-2023:2096-2
SUSELinux Enterprise Module for Package Hub 15 SP5netty4.1.90-150200.4.14.1SUSE-SU-2023:2096-2
openSUSELeap 15.4netty4.1.90-150200.4.14.1SUSE-SU-2023:2096-1
openSUSELeap 15.4netty-tcnative2.0.59-150200.3.10.1SUSE-SU-2023:2096-1
openSUSELeap 15.5netty4.1.90-150200.4.14.1SUSE-SU-2023:2096-2
openSUSELeap 15.5netty-tcnative2.0.59-150200.3.10.1SUSE-SU-2023:2096-2
openSUSETumbleweednetty4.1.114-1.1openSUSE-SU-2024:14442-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users.

Red Hat Satellite 6 is not affected as is using netty 3.6.7 version which is not impacted by this vulnerability.

Red Hat Fuse 7 is now in Maintenance Support Phase and should be fixed soon. However, Red Hat Fuse Online (Syndesis) does will not contain the fix for this flaw.

Red Hat's mitigation

As a workaround, specify one's own `java.io.tmpdir` when starting the JVM or use DefaultHttpDataFactory.setBaseDir(...) to set the directory to something that is only readable by the current user.

ProductPackageStateAdvisory
AMQ Broker 7.10.1nettyFixed 2022-10-12RHSA-2022:6916
Red Hat AMQ Streams 2.2.0nettyFixed 2022-10-05RHSA-2022:6819
Red Hat AMQ Streams 2.4.0Fixed 2023-05-18RHSA-2023:3223
Red Hat AMQ Streams 2.5.0Fixed 2023-09-14RHSA-2023:5165
Red Hat Data Grid 8.4.0nettyFixed 2022-11-17RHSA-2022:8524
Red Hat Fuse 7.11.1nettyFixed 2022-11-28RHSA-2022:8652
Red Hat JBoss Enterprise Application Platformio.netty/netty-codec-http:4.1.77.Final-redhat-00001Fixed 2022-08-08RHSA-2022:5928
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-netty-0:4.1.77-1.Final_redhat_00001.1.el8eapFixed 2022-08-03RHSA-2022:5893
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-0:1-18.el9eapFixed 2022-08-03RHSA-2022:5894
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-activemq-artemis-0:2.16.0-9.redhat_00042.1.el9eapFixed 2022-08-03RHSA-2022:5894
A-MQ Clients 2nettyNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Will not fix
Red Hat A-MQ OnlinenettyNot affected
Red Hat build of QuarkusnettyFix deferred
Red Hat Decision Manager 7nettyWill not fix
Red Hat JBoss A-MQ 6nettyOut of support scope
Red Hat JBoss Data Grid 7nettyOut of support scope
Red Hat JBoss Enterprise Application Platform 5nettyOut of support scope
Red Hat JBoss Enterprise Application Platform 6nettyOut of support scope
Red Hat JBoss Enterprise Application Platform Expansion PacknettyWill not fix
221 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24823.

References

Check your stackJSON