CVE-2021-21295 in Apache Zookeeper and 7 more products
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 ...
Affects 8 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Zookeeper | 3.5.9 |
| Apache | Kudu | < 1.16.0 |
| Debian | Debian Linux | 10.0 |
| Netapp | Oncommand Workflow Automation | No version listed by the source |
| Netapp | Oncommand Api Services | No version listed by the source |
| Netty | Netty | < 4.1.60 |
| Oracle | Communications Cloud Native Core Policy | 1.14.0 |
| Quarkus | Quarkus | ≤ 1.13.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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`.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-21295 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-240974-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2021-03-09 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-444: CWE-444
Related attack patterns (CAPEC)
CAPEC-33 HTTP Request Smuggling via CWE-444
CAPEC-273 HTTP Response Smuggling via CWE-444
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Apache systems (CVE-2021-21295). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 HTT CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
Questions
What is CVE-2021-21295?
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Apache systems (CVE-2021-21295). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2021-21295?
CVE-2021-21295 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 18.9%.
Is CVE-2021-21295 actively exploited?
No confirmed active exploitation of CVE-2021-21295 as of 2026-10-10.
How do I remediate CVE-2021-21295?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2021-21295?
CVE-2021-21295 affects Apache Zookeeper, Kudu; Debian Debian Linux; Netapp Oncommand Workflow Automation, Oncommand Api Services; Netty Netty; Oracle Communications Cloud Native Core Policy; Quarkus Quarkus.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Zookeeper","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.