cve.bz

CVE-2021-37137 Uncontrolled Resource Consumption

7.5 highEPSS 6.6%Fix available

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

On this page
The Snappy frame decoder function doesn't restrict the chunk length which may lead to excessive memory usage. Beside this it also may buffer reserved skippable chunks until the whole chunk was received which may lead to excessive memory usage as well. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file) or by sending a huge skippable chunk.

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
6.6% (unchanged from 6.6% a week ago; 6.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. 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-400 Uncontrolled Resource Consumption
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-2021-37137 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-37137?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-37137?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-2021-37137 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.

Badge for a README or a site

CVE-2021-37137

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-37137](https://cve.bz/cve/badge/CVE-2021-37137.svg)](https://cve.bz/cve/CVE-2021-37137)

HTML:

<a href="https://cve.bz/cve/CVE-2021-37137"><img src="https://cve.bz/cve/badge/CVE-2021-37137.svg" alt="CVE-2021-37137"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Netty project Nettybefore 4.1.68Final

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9vjp-v76f-g363Mavenio.netty:netty-codec>=4.0.0 <4.1.68.Final4.1.68.Final
GHSA-9vjp-v76f-g363Mavenorg.jboss.netty:nettyall versionsno fix published
GHSA-9vjp-v76f-g363Mavenio.netty:nettyall versionsno fix published

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-2021-37137
Ubuntu22.04:LTSnetty1:4.1.48-4+deb11u1build0.22.04.1UBUNTU-CVE-2021-37137 USN-6049-1
UbuntuPro:16.04:LTSnetty1:4.0.34-1ubuntu0.1~esm1UBUNTU-CVE-2021-37137 USN-6049-1
UbuntuPro:18.04:LTSnetty1:4.1.7-4ubuntu0.1+esm2UBUNTU-CVE-2021-37137 USN-6049-1
UbuntuPro:20.04:LTSnetty1:4.1.45-1ubuntu0.1~esm1UBUNTU-CVE-2021-37137 USN-6049-1
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-9.redhat_00042.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-h2database0:1.4.197-2.redhat_00004.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.12-1.Final_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jackson-databind0:2.12.6.1-1.redhat_00003.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-xnio-base0:3.8.7-1.SP1_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.72-4.Final_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow0:2.2.17-2.SP4_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.5-3.GA_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly-http-client, eap7-wildfly-http-ejb-client, eap7-wildfly-http-client-common and 2 more0:1.1.11-1.SP1_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-xerces-j20:2.12.0-3.SP04_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-9.redhat_00042.1.el8eapRHSA-2022:4919
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-h2database0:1.4.197-2.redhat_00004.1.el8eapRHSA-2022:4919
37 more for Red Hat in the JSON and on Red Hat's page.
SUSEManager Server Module 4.1netty4.1.44.Final-150200.3.4.2SUSE-SU-2022:3793-1
SUSEManager Server Module 4.2netty4.1.44.Final-150300.4.3.2SUSE-SU-2022:3617-1
SUSEManager Server Module 4.3netty4.1.44.Final-150400.3.3.2SUSE-SU-2022:3760-1
openSUSELeap 15.3netty4.1.75-150200.4.6.2SUSE-SU-2022:1271-1
openSUSETumbleweednetty4.1.114-1.1openSUSE-SU-2024:14442-1
Rocky Linux8libdb0:5.3.28-42.el8_4RLSA-2022:8506

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; Rocky Linux's errata, BSD-3-Clause. 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

In OpenShift Container Platform (OCP), the Hive/Presto/Hadoop components that comprise the OCP Metering stack, ship the vulnerable version of netty-codec package.

Since the release of OCP 4.6, the Metering product has been deprecated [1], hence the affected components are marked as wontfix.

This may be fixed in the future.

Starting in OCP 4.7, the elasticsearch component is shipping as a part of the OpenShift Logging product (openshift-logging/elasticsearch6-rhel8). The elasticsearch component delivered in OCP 4.6 is marked as `Out of support scope` because these versions are already under Maintenance Phase of the support.

[1] https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-release-notes.html#ocp-4-6-metering-operator-deprecated

ProductPackageStateAdvisory
Logging subsystem for Red Hat OpenShift 5.4openshift-logging/elasticsearch6-rhel8:v6.8.1-156Fixed 2022-05-11RHSA-2022:2216
OpenShift Logging 5.1openshift-logging/elasticsearch6-rhel8:v6.8.1-67Fixed 2021-12-14RHSA-2021:5128
OpenShift Logging 5.2openshift-logging/elasticsearch6-rhel8:v6.8.1-66Fixed 2021-12-14RHSA-2021:5127
OpenShift Logging 5.2openshift-logging/elasticsearch6-rhel8:v6.8.1-157Fixed 2022-05-11RHSA-2022:2218
OpenShift Logging 5.3openshift-logging/elasticsearch6-rhel8:v6.8.1-65Fixed 2021-12-14RHSA-2021:5129
OpenShift Logging 5.3openshift-logging/elasticsearch6-rhel8:v6.8.1-159Fixed 2022-05-11RHSA-2022:2217
Red Hat AMQ 7.9.1netty-codecFixed 2021-11-30RHSA-2021:4851
Red Hat AMQ Streams 2.0.0netty-codecFixed 2022-01-13RHSA-2022:0138
Red Hat AMQ Streams 2.4.0Fixed 2023-05-18RHSA-2023:3223
Red Hat AMQ Streams 2.5.0Fixed 2023-09-14RHSA-2023:5165
A-MQ Clients 2netty-codecAffected
Red Hat BPM Suite 6netty-codecOut of support scope
Red Hat build of Quarkusnetty-codecAffected
Red Hat Integration Camel K 1netty-codecAffected
Red Hat Integration Camel Quarkus 1netty-codecAffected
Red Hat Integration Service Registrynetty-codecNot affected
Red Hat JBoss BRMS 6netty-codecOut of support scope
Red Hat JBoss Data Grid 7netty-codecOut of support scope
Red Hat JBoss Data Virtualization 6netty-codecOut of support scope
Red Hat JBoss Fuse 6netty-codecOut of support scope
43 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-2021-37137.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

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

References

Check your stackJSON