Vulnerability in netty
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as DEBIAN-CVE-2021-21295 has been found in netty.
Attackers can target a specific entry point like Http2MultiplexHandler over the network to misuse the product.
Data can be tampered with by attackers.
What to do: upgrade netty to 4.1.60.Final or later.
If unsure, ask your IT team or search "netty DEBIAN-CVE-2021-21295" on the vendor's site.
DEBIAN-CVE-2021-21295 (netty)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: Http2MultiplexHandler / HttpRequest / HttpContent / HTTP2MultiplexCodec
Patched: 4.1.60.Final — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in netty. Attackers reach the vulnerable code path via Http2MultiplexHandler without authentication.
Check the vendor advisory for the affected versions of netty. Attack surface: Http2MultiplexHandler / HttpRequest / HttpContent / HTTP2MultiplexCodec.
Severity: ?. Data can be tampered with by attackers.
Update to 4.1.60.Final.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'netty' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'netty' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
nettyを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade netty to 4.1.60.Finalステージング環境で 4.1.60.Final に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12netty |
< 1:4.1.48-3→ 1:4.1.48-3 |
1:4.1.48-3 |
| Debian:13netty |
< 1:4.1.48-3→ 1:4.1.48-3 |
1:4.1.48-3 |
| Debian:14netty |
< 1:4.1.48-3→ 1:4.1.48-3 |
1:4.1.48-3 |
Original description The description as published by the source.
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, t…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org