目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-24371— CometBFT 安全漏洞

一分钟漏洞结论

影响对象
cometbft cometbft
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

CometBFT是CometBFT开源的一种拜占庭容错 (BFT) 中间件,它采用状态转换机(用任何编程语言编写)并可在许多机器上安全地复制。 CometBFT存在安全漏洞,该漏洞源于blocksync协议中未检查节点报告的latest高度递减的情况,导致同步节点无限期尝试追赶非存在的区块高度。

AI 预测 5.3 利用难度: 中等 EPSS 0.46% · P40
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-24371 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Malicious peer can make node stuck in blocksync in github.com/cometbft/cometbft
来源: CVE Program / CVE List V5
Vulnerability Description
CometBFT is a distributed, Byzantine fault-tolerant, deterministic state machine replication engine. In the `blocksync` protocol peers send their `base` and `latest` heights when they connect to a new node (`A`), which is syncing to the tip of a network. `base` acts as a lower ground and informs `A` that the peer only has blocks starting from height `base`. `latest` height informs `A` about the latest block in a network. Normally, nodes would only report increasing heights. If `B` fails to provide the latest block, `B` is removed and the `latest` height (target height) is recalculated based on other nodes `latest` heights. The existing code however doesn't check for the case where `B` first reports `latest` height `X` and immediately after height `Y`, where `X > Y`. `A` will be trying to catch up to 2000 indefinitely. This condition requires the introduction of malicious code in the full node first reporting some non-existing `latest` height, then reporting lower `latest` height and nodes which are syncing using `blocksync` protocol. This issue has been patched in versions 1.0.1 and 0.38.17 and all users are advised to upgrade. Operators may attempt to ban malicious peers from the network as a workaround.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
对异常条件检查或处理不恰当
来源: CVE Program / CVE List V5
Vulnerability Title
CometBFT 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
CometBFT是CometBFT开源的一种拜占庭容错 (BFT) 中间件,它采用状态转换机(用任何编程语言编写)并可在许多机器上安全地复制。 CometBFT存在安全漏洞,该漏洞源于blocksync协议中未检查节点报告的latest高度递减的情况,导致同步节点无限期尝试追赶非存在的区块高度。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
cometbft cometbft < 0.38.17 -

二、漏洞 CVE-2025-24371 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-24371 的情报信息

请登录查看更多情报信息。

CVE-2025-24371 厂商安全公告 (1)

CVE-2025-24371 厂商页面 (1)

CVE-2025-24371 其他参考 (1)

IV. Related Vulnerabilities