製品・ソフトウェアに関する情報
Netty における HTTP リクエストスマグリングに関する脆弱性
Title Netty における HTTP リクエストスマグリングに関する脆弱性
Summary

Netty には、HTTP リクエストスマグリングに関する脆弱性が存在します。

Possible impacts 情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 9, 2021, midnight
Registration Date Nov. 26, 2021, 3:13 p.m.
Last Update Nov. 26, 2021, 3:13 p.m.
CVSS3.0 : 警告
Score 5.9
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS2.0 : 注意
Score 2.6
Vector AV:N/AC:H/Au:N/C:N/I:P/A:N
Affected System
Quarkus
Quarkus 
Apache Software Foundation
Apache Kudu 
Debian
Debian GNU/Linux 
NetApp
OnCommand API Services 
OnCommand Workflow Automation 
The Netty project
Netty 4.1.60 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2021年11月26日]
  掲載
Nov. 26, 2021, 3:13 p.m.

NVD Vulnerability Information
CVE-2021-21295
Summary

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

Publication Date March 10, 2021, 4:15 a.m.
Registration Date March 10, 2021, 10:02 a.m.
Last Update Nov. 21, 2024, 2:47 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* 4.1.60
Configuration2 or higher or less more than less than
cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:oncommand_api_services:-:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:* 1.13.7
Configuration5 or higher or less more than less than
cpe:2.3:a:apache:kudu:*:*:*:*:*:*:*:* 1.16.0
cpe:2.3:a:apache:zookeeper:3.5.9:*:*:*:*:*:*:*
Configuration6 or higher or less more than less than
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List