CVEBrief

Home / netty / io.netty:netty-codec-http2 / CVE-2021-21295

CVE-2021-21295: is it exploited, and which versions of io.netty:netty-codec-http2 are affected and fixed?

CVE-2021-21295 is a HTTP request smuggling vulnerability in io.netty:netty-codec-http2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: io.netty:netty-codec-http2 from 4.0.0 before 4.1.60.Final, org.jboss.netty:netty 0 and later, no fix listed and io.netty:netty 0 and later, no fix listed (GitHub advisory GHSA-wm47-8v5p-wjpj). Fixed in 4.1.60.Final (GitHub advisory GHSA-wm47-8v5p-wjpj). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
io.netty:netty-codec-http2 from 4.0.0 before 4.1.60.Final, org.jboss.netty:netty 0 and later, no fix listed and io.netty:netty 0 and later, no fix listed
GitHub advisory GHSA-wm47-8v5p-wjpj
Fixed in
4.1.60.Final
GitHub advisory GHSA-wm47-8v5p-wjpj
Severity
Medium 5.9
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
19.1% in 30 days
higher than 97% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-21295?

Possible request smuggling in HTTP/2 due missing validation

Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty (io.netty:netty-codec-http2) before version 4.1.60.Final there is a vulnerability that enables request smuggling. If a Content-Length header is present in the original HTTP/2 request, the field is not validated by `Http2MultiplexHandler` as it is propagated up. This is fine as long as the request is not proxied through as HTTP/1.1. If the request comes in as an HTTP/2 stream, gets converted into the HTTP/1.1 domain objects (`HttpRequest`, `HttpContent`, etc.) via `Http2StreamFrameToHttpObjectCodec `and then sent up to the child channel's pipeline and proxied through a remote peer as HTTP/1.1 this may result in request smuggling. In a proxy case, users may assume the content-length is validated somehow, which is not the case. If the request is forwarded to a backend channel that is a HTTP/1.1 connection, the Content-Length now has meaning and needs to be checked. An attacker can smuggle requests inside the body as it gets downgraded from HTTP/2 to HTTP/1.1. For an example attack refer to the linked GitHub Advisory. Users are only affected if all of this is true: `HTTP2MultiplexCodec` or `Http2FrameCodec` is used, `Http2StreamFrameToHttpObjectCodec` is used to convert to HTTP/1.1 objects, and these HTTP/1.1 objects are forwarded to another remote peer. This has been patched in 4.1.60.Final As a workaround, the user can do the validation by themselves by implementing a custom `ChannelInboundHandler` that is put in the `ChannelPipeline` behind `Http2StreamFrameToHttpObjectCodec`.

From the CVE record by GitHub_M, last updated October 8, 2026, 21:14 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
nettyio.netty:netty-codec-http2< 4.1.60.Final

As the CVE record by GitHub_M states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenio.netty:netty-codec-http2>= 4.0.0, < 4.1.60.Final4.1.60.FinalGHSA-wm47-8v5p-wjpj
Mavenorg.jboss.netty:netty>= 0none listedGHSA-wm47-8v5p-wjpj
Mavenio.netty:netty>= 0none listedGHSA-wm47-8v5p-wjpj

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 31, 2021. Summary: Possible request smuggling in HTTP/2 due missing validation.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
nettynettybefore 4.1.60application
netapponcommand api servicesall versionsapplication
netapponcommand workflow automationall versionsapplication
debiandebian linux10.0operating system
quarkusquarkusthrough 1.13.7application
apachekudubefore 1.16.0application
apachezookeeper3.5.9application
oraclecommunications cloud native core policy1.14.0application

NVD analysis (status Modified), last modified October 8, 2026, 22:17 UTC.

How severe is CVE-2021-21295?

ScoreVersionVectorSource
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NGitHub_M
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NNVD
Low 2.6CVSS 2.0AV:N/AC:H/Au:N/C:N/I:P/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-21295 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 8, 2026)
EPSS
19.1% probability of exploitation activity in the next 30 days, percentile 97.4 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 22, 2020
Published
March 9, 2021, 18:35 UTC
CVE record updated
October 8, 2026, 21:14 UTC by GitHub_M
NVD
Modified, last modified October 8, 2026, 22:17 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2021-21295

Is CVE-2021-21295 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 19.1% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of io.netty:netty-codec-http2 are affected by CVE-2021-21295?

io.netty:netty-codec-http2 from 4.0.0 before 4.1.60.Final, org.jboss.netty:netty 0 and later, no fix listed and io.netty:netty 0 and later, no fix listed, per the GitHub advisory GHSA-wm47-8v5p-wjpj. The tables above give every range the sources list.

Which version fixes CVE-2021-21295?

4.1.60.Final, per the GitHub advisory GHSA-wm47-8v5p-wjpj. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-21295?

Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2021-21295?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.