cve.bz

CVE-2022-41881 Uncontrolled Recursion

7.5 highExploit referenceEPSS 1.6%Fix available

High (7.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in io.netty:netty-codec-haproxy 4.1.86.Final.

On this page
Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. This issue is patched in version 4.1.86.Final. There is no workaround, except using a custom HaProxyMessageDecoder.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th 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: yes · 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.
CWE
CWE-674 Uncontrolled Recursion
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-41881 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41881?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41881?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-41881 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.86
debian:debian_linux10.0
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fx2c-96vj-985vMavenio.netty:netty-codec-haproxy<4.1.86.Final4.1.86.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10netty1:4.1.33-1+deb10u3DLA-3268-1
Debian11netty1:4.1.48-4+deb11u1DSA-5316-1
Debian12, 13, 14netty1:4.1.48-6DEBIAN-CVE-2022-41881
Ubuntu16.04:LTS, 18.04:LTSnetty-3.9no fix listedUBUNTU-CVE-2022-41881
Ubuntu22.04:LTSnetty1:4.1.48-4+deb11u1build0.22.04.1UBUNTU-CVE-2022-41881 USN-6049-1
UbuntuPro:16.04:LTSnetty1:4.0.34-1ubuntu0.1~esm1UBUNTU-CVE-2022-41881 USN-6049-1
UbuntuPro:18.04:LTSnetty1:4.1.7-4ubuntu0.1+esm2UBUNTU-CVE-2022-41881 USN-6049-1
UbuntuPro:20.04:LTSnetty1:4.1.45-1ubuntu0.1~esm1UBUNTU-CVE-2022-41881 USN-6049-1
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis-native1:1.0.2-3.redhat_00004.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-apache-mime4j0:0.8.9-1.redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-artemis-native, eap7-artemis-native-wildfly, eap7-artemis-native-debuginfo1:1.0.2-4.redhat_00004.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-artemis-wildfly-integration0:1.0.7-1.redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 7 more0:11.0.17-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.11-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-client0:4.0.50-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-el-api_3.0_spec0:2.0.1-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-metadata, eap7-jboss-metadata-ear, eap7-jboss-metadata-ejb and 3 more0:13.4.0-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-26.Final_redhat_00025.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-cxf0:5.4.8-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-spi0:3.4.0-2.Final_redhat_00001.1.el7eapRHSA-2023:1512
67 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.

ProductPackageStateAdvisory
CEQ 2.13.2-1codec-haproxyFixed 2023-02-21RHSA-2023:0888
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-web-container-rhel8:1.1-7Fixed 2023-05-31RHSA-2023:3373
Migration Toolkit for Runtimes 1 on RHEL 8io.netty-netty-parentFixed 2023-05-31RHSA-2023:3374
Migration Toolkit for Runtimes 1 on RHEL 8org.jboss.windup.plugin-windup-maven-plugin-parentFixed 2023-05-31RHSA-2023:3374
MTA-6.2-RHEL-9mta/mta-windup-addon-rhel9:6.2.0-11Fixed 2023-08-14RHSA-2023:4627
Red Hat build of Eclipse Vert.x 4.3.7codec-haproxyFixed 2023-02-16RHSA-2023:0577
Red Hat build of QuarkusFixed 2023-02-14RHSA-2023:0758
Red Hat Data Grid 8.4.1codec-haproxyFixed 2023-02-09RHSA-2023:0713
Red Hat Fuse 7.12codec-haproxyFixed 2023-06-29RHSA-2023:3954
Red Hat JBoss Enterprise Application Platformio.netty/netty-codec-haproxy:4.1.86.Final-redhat-00001Fixed 2023-03-29RHSA-2023:1516
A-MQ Clients 2codec-haproxyWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for Applications 6io.netty-netty-parentAffected
Migration Toolkit for Applications 6org.jboss.windup.plugin-windup-maven-plugin-parentAffected
Migration Toolkit for Applications 6org.jboss.windup-windup-parentAffected
Migration Toolkit for Runtimesorg.jboss.windup-windup-parentAffected
Red Hat build of Debezium 1codec-haproxyWill not fix
Red Hat build of Quarkuscodec-haproxyWill not fix
Red Hat Integration Camel Quarkus 1codec-haproxyAffected
Red Hat JBoss Data Grid 7codec-haproxyOut of support scope
33 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-41881.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON