CVE-2025-59789
中文标题:
(暂无数据)
英文标题:
Apache bRPC: Stack Exhaustion via Unbounded Recursion in JSON Parser
漏洞描述
中文描述:
(暂无数据)
英文描述:
Uncontrolled recursion in the json2pb component in Apache bRPC (version < 1.15.0) on all platforms allows remote attackers to make the server crash via sending deep recursive json data. Root Cause: The bRPC json2pb component uses rapidjson to parse json data from the network. The rapidjson parser uses a recursive parsing method by default. If the input json has a large depth of recursive structure, the parser function may run into stack overflow. Affected Scenarios: Use bRPC server with protobuf message to serve http+json requests from untrusted network. Or directly use JsonToProtoMessage to convert json from untrusted input. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.15.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3099 Note: No matter which option you choose, you should know that the fix introduces a recursion depth limit with default value 100. It affects these functions: ProtoMessageToJson, ProtoMessageToProtoJson, JsonToProtoMessage, and ProtoJsonToProtoMessage. If your requests contain json or protobuf messages that have a depth exceeding the limit, the request will be failed after applying the fix. You can modify the gflag json2pb_max_recursion_depth to change the limit.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Apache Software Foundation | Apache bRPC | - | < 1.15.0 | - |
cpe:2.3:a:apache_software_foundation:apache_brpc:*:*:*:*:*:*:*:*
|
| apache | brpc | * | - | - |
cpe:2.3:a:apache:brpc:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (adp)
HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-59789 |
2025-12-03 03:24:31 | 2026-01-12 02:12:08 |
| NVD | nvd_CVE-2025-59789 |
2025-12-03 03:25:09 | 2026-01-12 02:27:55 |
版本与语言
安全公告
变更历史
查看详细变更
- affected_products_count: 1 -> 2
- references_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']