ADVISORIES

Vulnerability

CVE-2021-21295

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`.

35 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • CGA-2rjr-6hfc-f25p
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-3m2c-8pjq-jcpp
    CVE-2021-21295 ChainguardWolfi Updated 5 November 2026
  • CGA-5p87-7fp6-h32x
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-7qp9-j9mw-x5fr
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-8g3f-v7rx-7q99
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-8phv-gfvc-64vh
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-c2j6-hxrh-r2j2
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-c6hf-9v38-9rcp
    CVE-2021-21295 ChainguardWolfi Updated 5 November 2026
  • CGA-ch7m-q373-38rg
    CVE-2021-21295 ChainguardWolfi Updated 5 November 2026
  • CGA-gjf2-fjgh-8xpv
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-hhjc-vw79-cx49
    CVE-2021-21295 ChainguardWolfi Updated 5 November 2026
  • CGA-hvcx-f27m-vhj5
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-hvwm-7x6h-887r
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-jf66-8xh2-v877
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-jw3f-jq3v-3cr3
    CVE-2021-21295 ChainguardWolfi Updated 5 November 2026
  • CGA-m65p-9pgm-wc89
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • CGA-p3qp-vpwg-3ghp
    CVE-2021-21295 ChainguardWolfi Updated 5 November 2026
  • CGA-v58m-rcv3-hpg3
    CVE-2021-21295 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-21295

    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…

    CVE-2021-21295 Debian Updated 9 October 2026
  • DSA-4885-1

    netty - security update

    CVE-2019-20444CVE-2019-20445CVE-2020-11612CVE-2020-7238 Debian Updated 20 November 2026
  • GHSA-wm47-8v5p-wjpj

    Possible request smuggling in HTTP/2 due missing validation

    Moderate CVE-2021-21295 Maven Updated 10 September 2026
  • OESA-2021-1161

    netty security update

    Medium CVE-2021-21295CVE-2021-21409 openEuler Updated 18 August 2026
  • RHSA-2021:1511

    Red Hat Security Advisory: AMQ Clients 2.9.1 release and security update

    CVE-2021-21290CVE-2021-21295CVE-2021-21409 Red Hat Updated 13 November 2026
  • RHSA-2021:2046

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.7 security update on RHEL 6

    CVE-2020-13936CVE-2021-21290CVE-2021-21295 Red Hat Updated 13 November 2026
  • RHSA-2021:2047

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.7 security update on RHEL 7

    CVE-2020-13936CVE-2021-21290CVE-2021-21295 Red Hat Updated 13 November 2026
  • RHSA-2021:2048

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.7 security update on RHEL 8

    CVE-2020-13936CVE-2021-21290CVE-2021-21295 Red Hat Updated 13 November 2026
  • RHSA-2021:3656

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.1 security update on RHEL 7

    CVE-2020-13936CVE-2021-21295CVE-2021-21409CVE-2021-28170 Red Hat Updated 13 November 2026
  • RHSA-2021:3658

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.1 security update on RHEL 8

    CVE-2020-13936CVE-2021-21295CVE-2021-21409CVE-2021-28170 Red Hat Updated 13 November 2026
  • RHSA-2022:5498

    Red Hat Security Advisory: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Red Hat Updated 13 November 2026
  • RLSA-2022:5498

    Moderate: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:1271-1

    Security update for netty

    CVE-2021-21290CVE-2021-21295CVE-2021-37136CVE-2021-37137 openSUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-21295

    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…

    CVE-2021-21295 Ubuntu Updated 4 November 2026
  • USN-6049-1

    netty vulnerabilities

    CVE-2020-11612CVE-2021-21290CVE-2021-21295CVE-2021-21409 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2021:0448-1

    Security update for netty

    CVE-2021-21295 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11085-1

    netty-4.1.60-1.4 on GA media

    CVE-2020-10707CVE-2020-11612CVE-2021-21290CVE-2021-21295 openSUSE Updated 4 February 2026

References