CVE-2021-21295 Details
Description
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`.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-444 | Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') | [email protected] |
| CWE-444 | Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| netty netty | < 4.1.60 |
CPE
Remediation
| |
| netapp oncommand api services | All versions |
CPE
Remediation
| |
| netapp oncommand workflow automation | All versions |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
| quarkus quarkus | <= 1.13.7 |
CPE
Remediation
| |
| apache kudu | < 1.16.0 |
CPE
Remediation
| |
| apache zookeeper | 3.5.9 |
CPE
Remediation
| |
| oracle communications cloud native core policy | 1.14.0 |
CPE
Remediation
| |
Change History
57 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| May 12, 2022 | Modified Analysis | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Dec 10, 2021 | Modified Analysis | [email protected] |
| Oct 20, 2021 | CVE Modified | [email protected] |
| Sep 28, 2021 | CVE Modified | [email protected] |
| Sep 14, 2021 | Modified Analysis | [email protected] |
| Sep 7, 2021 | CVE Modified | [email protected] |
| Sep 4, 2021 | CVE Modified | [email protected] |
| Sep 4, 2021 | CVE Modified | [email protected] |
| Aug 6, 2021 | CVE Modified | [email protected] |
| Jul 26, 2021 | CVE Modified | [email protected] |
| Jul 9, 2021 | CVE Modified | [email protected] |
| Jul 7, 2021 | CVE Modified | [email protected] |
| Jul 6, 2021 | CVE Modified | [email protected] |
| Jun 19, 2021 | CVE Modified | [email protected] |
| Jun 15, 2021 | CVE Modified | [email protected] |
| Jun 11, 2021 | Modified Analysis | [email protected] |
| Jun 11, 2021 | CVE Modified | [email protected] |
| Jun 10, 2021 | Modified Analysis | [email protected] |
| Jun 10, 2021 | CVE Modified | [email protected] |
| Jun 4, 2021 | CVE Modified | [email protected] |
| May 11, 2021 | CVE Modified | [email protected] |
| May 7, 2021 | CVE Modified | [email protected] |
| May 1, 2021 | CVE Modified | [email protected] |
| Apr 26, 2021 | CVE Modified | [email protected] |
| Apr 24, 2021 | CVE Modified | [email protected] |
| Apr 6, 2021 | CVE Modified | [email protected] |
| Apr 3, 2021 | CVE Modified | [email protected] |
| Apr 2, 2021 | CVE Modified | [email protected] |
| Apr 2, 2021 | CVE Modified | [email protected] |
| Apr 2, 2021 | CVE Modified | [email protected] |
| Apr 2, 2021 | CVE Modified | [email protected] |
| Apr 1, 2021 | CVE Modified | [email protected] |
| Apr 1, 2021 | CVE Modified | [email protected] |
| Apr 1, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 31, 2021 | CVE Modified | [email protected] |
| Mar 30, 2021 | CVE Modified | [email protected] |
| Mar 30, 2021 | CVE Modified | [email protected] |
| Mar 30, 2021 | CVE Modified | [email protected] |
| Mar 29, 2021 | CVE Modified | [email protected] |
| Mar 29, 2021 | CVE Modified | [email protected] |
| Mar 25, 2021 | Initial Analysis | [email protected] |
| Mar 18, 2021 | CVE Modified | [email protected] |
| Mar 18, 2021 | CVE Modified | [email protected] |
| Mar 18, 2021 | CVE Modified | [email protected] |
| Mar 17, 2021 | CVE Modified | [email protected] |
| Mar 17, 2021 | CVE Modified | [email protected] |