Spring Cloud Gatewayのsサービスで認証なしのサービス拒否の脆弱性
Summary
JsonToGrpcフィルターを使うルートに認証なしで繰り返しリクエストを送られると、ゲートウェイがソケットやチャネルを解放せず保持し続け、サービス拒否の状態になるおそれがあります。影響するのは5.0.0〜5.0.4.1未満、4.3.0〜4.3.7未満、4.2.0〜4.2.11未満、3.1.4〜3.1.15未満、5.0.0〜5.0.5未満の各版で、修正版は5.0.4.1、4.3.7、4.2.11、3.1.15、5.0.5です。該当するルートを公開している場合は、修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
JsonToGrpcフィルターを使うルートに認証なしで繰り返しリクエストを送られると、ゲートウェイがソケットやチャネルを解放せず保持し続け、サービス拒否の状態になるおそれがあります。影響するのは5.0.0〜5.0.4.1未満、4.3.0〜4.3.7未満、4.2.0〜4.2.11未満、3.1.4〜3.1.15未満、5.0.0〜5.0.5未満の各版で、修正版は5.0.4.1、4.3.7、4.2.11、3.1.15、5.0.5です。該当するルートを公開している場合は、修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Cloud Gateway |
≥ 5.0.0, < 5.0.4.1→ 5.0.4.1 ≥ 4.3.0, < 4.3.7→ 4.3.7 ≥ 4.2.0, < 4.2.11→ 4.2.11 ≥ 3.1.4, < 3.1.15→ 3.1.15 ≥ 5.0.0, < 5.0.5→ 5.0.5 |
5.0.4.1 4.3.7 4.2.11 3.1.15 5.0.5 |
Original description The description as published by the source.
Spring Cloud Gateway's JsonToGrpc filter creates a new Netty-backed gRPC ManagedChannel for every HTTP request that matches a route using the filter. The channel is never shut down or reused, so its socket and channel resources remain open after the request completes.
An unauthenticated attacker who can reach a route that uses the JsonToGrpc filter can send repeated requests and cause the gateway to retain open sockets and channel resources, resulting in a denial of service. Applications are affected only if they expose a route configured with the JsonToGrpc filter.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@vmware.com
- web security@vmware.com
- web nvd.nist.gov
- web github.com