CVE-2022-41881 json
HAProxyMessageDecoder Stack Exhaustion DoS
published 2022-12-12 3 y ago modified 2026-08-07 3 mo ago also GHSA-fx2c-96vj-985v , EUVD-2022-7622
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven io.netty:netty-codec-haproxy 4.1.86.Final
- netty netty 4.1.86
- netty Debian 14, Debian 13, Debian 12 1:4.1.48-6
debian advisories DEBIAN-CVE-2022-41881
- netty Ubuntu 22.04 LTS 1:4.1.48-4+deb11u1build0.22.04.1
- netty Ubuntu Pro 16.04 LTS 1:4.0.34-1ubuntu0.1~esm1
- netty Ubuntu Pro 18.04 LTS 1:4.1.7-4ubuntu0.1+esm2
- netty Ubuntu Pro 20.04 LTS 1:4.1.45-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2022-41881
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- eap7-netty jboss enterprise application platform 7.4 4.1.86-1.Final_redhat_00001.1.el9eap
- eap7-wildfly jboss enterprise application platform 7.4 7.4.10-6.GA_redhat_00002.1.el9eap
- eap7-resteasy jboss enterprise application platform 7.4 3.15.5-1.Final_redhat_00001.1.el9eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.23-1.SP2_redhat_00001.1.el9eap
- eap7-snakeyaml jboss enterprise application platform 7.4 1.33.0-2.SP1_redhat_00001.1.el9eap
- eap7-infinispan jboss enterprise application platform 7.4 11.0.17-1.Final_redhat_00001.1.el9eap
- eap7-ironjacamar jboss enterprise application platform 7.4 1.5.11-1.Final_redhat_00001.1.el9eap
- eap7-jbossws-cxf jboss enterprise application platform 7.4 5.4.8-1.Final_redhat_00001.1.el9eap
red hat advisories RHSA-2025:1747RHSA-2025:1746RHSA-2023:1514RHSA-2023:1513RHSA-2023:1512RHSA-2023:2707
- netty-tcnative SLE Real Time 15 SP3, SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4 +11 more 2.0.59-150200.3.10.1
- netty SLE Module for Package Hub 15 SP5, openSUSE Leap 15.5, openSUSE Leap 15.4 4.1.90-150200.4.14.1
suse advisories SUSE-SU-2023:2096-2SUSE-SU-2023:2096-1
- netty openSUSE Tumbleweed 4.1.114-1.1
opensuse advisories openSUSE-SU-2024:14442-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-41881 updated cvss 7.5
codec-haproxy: HAProxyMessageDecoder Stack Exhaustion DoS
-
Red Hat A-MQ Clients 2 codec-haproxy codec-haproxyaffected: no fix planned “Will not fix”
-
Red Hat Migration Toolkit for Applications 6 io.netty-netty-parent, org.jboss.windup-windup-parent, org.jboss.windup.plugin-windup-maven-plugin-parent Red Hat Migration Toolkit for Runtimes org.jboss.windup-windup-parentaffected: no fix available
-
Red Hat build of Debezium 1 codec-haproxy codec-haproxy Red Hat build of Quarkus codec-haproxy codec-haproxyaffected: no fix planned “Will not fix”
-
Red Hat Integration Camel Quarkus 1 codec-haproxy codec-haproxyaffected: no fix available
-
Red Hat JBoss Data Grid 7 codec-haproxy codec-haproxyaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack codec-haproxy codec-haproxyaffected: no fix available
-
Red Hat JBoss Fuse 6 codec-haproxy codec-haproxy Red Hat JBoss Fuse Service Works 6 codec-haproxy codec-haproxy Red Hat Process Automation 7 codec-haproxy codec-haproxyaffected: no fix planned “Out of support scope”
-
Red Hat CEQ 2.13.2-1fixed: vendor fix RHSA-2023:0888
show 19 moreshow fewer
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-22fixed: vendor fix RHSA-2023:2710
-
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 mtr/mtr-web-container-rhel8 1.1-7fixed: vendor fix RHSA-2023:3373
-
Red Hat MTA 6.2 for RHEL 8 mta/mta-windup-addon-rhel9 6.2.0-11fixed: vendor fix RHSA-2023:4627
-
Red Hat build of Eclipse Vert.x 4.3.7fixed: vendor fix RHSA-2023:0577
-
Red Hat build of Quarkusfixed: vendor fix RHSA-2023:0758
-
Red Hat Data Grid 8.4.1fixed: vendor fix RHSA-2023:0713
-
Red Hat Fuse 7.12fixed: vendor fix RHSA-2023:3954
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-netty 4.1.86-1.Final_redhat_00001.1.el7eap, eap7-netty-all 4.1.86-1.Final_redhat_00001.1.el7eap, eap7-netty-codec 4.1.86-1.Final_redhat_00001.1.el7eap, eap7-netty-buffer 4.1.86-1.Final_redhat_00001.1.el7eap, eap7-netty-common 4.1.86-1.Final_redhat_00001.1.el7eap, eap7-netty-handler 4.1.86-1.Final_redhat_00001.1.el7eap, +22 morefixed: vendor fix RHSA-2023:1512
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-netty 4.1.86-1.Final_redhat_00001.1.el8eap, eap7-netty-all 4.1.86-1.Final_redhat_00001.1.el8eap, eap7-netty-codec 4.1.86-1.Final_redhat_00001.1.el8eap, eap7-netty-buffer 4.1.86-1.Final_redhat_00001.1.el8eap, eap7-netty-common 4.1.86-1.Final_redhat_00001.1.el8eap, eap7-netty-handler 4.1.86-1.Final_redhat_00001.1.el8eap, +22 morefixed: vendor fix RHSA-2023:1513
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-netty 4.1.86-1.Final_redhat_00001.1.el9eap, eap7-netty-codec 4.1.86-1.Final_redhat_00001.1.el9eap, eap7-netty-buffer 4.1.86-1.Final_redhat_00001.1.el9eap, eap7-netty-common 4.1.86-1.Final_redhat_00001.1.el9eap, eap7-netty-handler 4.1.86-1.Final_redhat_00001.1.el9eap, eap7-netty-resolver 4.1.86-1.Final_redhat_00001.1.el9eap, +21 morefixed: vendor fix RHSA-2023:1514
-
Red Hat JBoss Enterprise Application Platform netty-codec-haproxy 4.1.86.Final-redhat-00001fixed: vendor fix RHSA-2023:1516
-
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-jettison 1.3.8-2.redhat_00002.1.ep7.el7, eap7-velocity 1.7.0-3.redhat_00006.1.ep7.el7, eap7-wildfly 7.1.9-2.GA_redhat_00002.1.ep7.el7, eap7-apache-cxf 3.1.16-4.redhat_00003.1.ep7.el7, eap7-netty 4.1.63-1.Final_redhat_00002.1.ep7.el7, eap7-apache-cxf-rt 3.1.16-4.redhat_00003.1.ep7.el7, +23 morefixed: vendor fix RHSA-2025:1746
-
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-jettison 1.5.2-2.redhat_00002.1.el7eap, eap7-wildfly 7.3.12-3.GA_redhat_00002.1.el7eap, eap7-netty 4.1.63-4.Final_redhat_00002.1.el7eap, eap7-jackson-core 2.10.4-2.redhat_00004.1.el7eap, eap7-snakeyaml 1.33.0-1.SP1_redhat_00001.1.el7eap, eap7-resteasy 3.11.6-1.Final_redhat_00001.1.el7eap, +35 morefixed: vendor fix RHSA-2025:1747
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2023:2713
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.7-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.7-1.redhat_00001.1.el7ssofixed: vendor fix RHSA-2023:2705
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.7-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.7-1.redhat_00001.1.el8ssofixed: vendor fix RHSA-2023:2706
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.7-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.7-1.redhat_00001.1.el9ssofixed: vendor fix RHSA-2023:2707
-
Red Hat RHINT Camel-Springboot 3.20.1fixed: vendor fix RHSA-2023:2100
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 mtr/mtr-rhel8-operator 1.1-6, mtr/mtr-operator-bundle 1.1-8, mtr/mtr-web-executor-container-rhel8 1.1-6 Red Hat MTA 6.2 for RHEL 8 mta/mta-ui-rhel9 6.2.0-17, mta/mta-hub-rhel9 6.2.0-16, mta/mta-rhel8-operator 6.2.0-12, mta/mta-operator-bundle 6.2.0-29, mta/mta-pathfinder-rhel9 6.2.0-5 Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.10-6.GA_redhat_00002.1.el7eap, eap7-apache-mime4j 0.8.9-1.redhat_00001.1.el7eap, eap7-undertow 2.2.23-1.SP2_redhat_00001.1.el7eap, eap7-artemis-native 1.0.2-4.redhat_00004.1.el7eap, eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el7eap, eap7-resteasy 3.15.5-1.Final_redhat_00001.1.el7eap, +72 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.10-6.GA_redhat_00002.1.el8eap, eap7-apache-mime4j 0.8.9-1.redhat_00001.1.el8eap, eap7-undertow 2.2.23-1.SP2_redhat_00001.1.el8eap, eap7-artemis-native 1.0.2-4.redhat_00004.1.el8eap, eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el8eap, eap7-resteasy 3.15.5-1.Final_redhat_00001.1.el8eap, +73 more Red Hat JBoss EAP 7.4 for RHEL 9 eap7-wildfly 7.4.10-6.GA_redhat_00002.1.el9eap, eap7-apache-mime4j 0.8.9-1.redhat_00001.1.el9eap, eap7-undertow 2.2.23-1.SP2_redhat_00001.1.el9eap, eap7-artemis-native 1.0.2-4.redhat_00004.1.el9eap, eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el9eap, eap7-resteasy 3.15.5-1.Final_redhat_00001.1.el9eap, +73 morenot affected: vulnerable code not present
+1 more productsfewer
Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, fs 2.1.2, ip 2.0.0, +1541 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/netty/netty/security/advisories/GHSA-fx2c-96vj-985v referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.netty:netty-codec-haproxy | <4.1.86.Final |
4.1.86.Final |
Affected products
- netty netty
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/netty/netty/security/advisories/GHSA-fx2c-96vj-985v
web, exploit, third-party-advisory
-
debian.org
/security/2023/dsa-5316
vendor-advisory, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/01/msg00008.html
mailing-list, web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20230113-0004/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41881
advisory
-
github.com
/netty/netty
package
-
security.netapp.com
/advisory/ntap-20230113-0004
web
Sources
- CVE List CVE-2022-41881
- GitHub Advisory GHSA-fx2c-96vj-985v
- NVD CVE-2022-41881
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.