Uncontrolled recursion in the Redis reply parser in Apache bRPC < 1.18.0 allows a remote Redis...
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| Apache Software Foundation | Apache bRPC |
1.18.0 未満 |
1.18.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Uncontrolled recursion in the Redis reply parser in Apache bRPC < 1.18.0 allows a remote Redis server peer to crash a bRPC Redis client process by returning a deeply nested RESP array reply. The parser recursed once for each nested array level without enforcing a depth limit. The fix adds a configurable Redis reply depth limit with default value 128 and rejects replies exceeding that limit.
Affected Scenarios:
Applications using bRPC as a Redis client with ChannelOptions.protocol="redis" and receiving replies from an untrusted or faulty Redis server peer.
How to Fix:
- Upgrade Apache bRPC to 1.18.0.
- Apply the patch from PR https://github.com/apache/brpc/pull/3344 .
Note:
After applying the fix, Redis replies with array nesting deeper than redis_max_reply_depth are rejected.
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- web nvd.nist.gov
- web security@apache.org
- web github.com