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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-38365— btcd 安全漏洞

一分钟漏洞结论

影响对象
btcsuite btcd
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

btcd是Bitcoin in Go开源的一种用 Go(golang) 编写的另一种全节点比特币实现。 btcd 0.10至0.24版本存在安全漏洞,该漏洞源于未能正确重新实现Bitcoin Core的FindAndDelete功能,导致btcd客户端接受无效的比特币区块或拒绝有效的比特币区块。

CVSS 7.4 · High EPSS 1.01% · P63
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-38365 基础信息

漏洞信息

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

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

Vulnerability Title
btcd did not correctly re-implement Bitcoin Core's "FindAndDelete()" functionality
来源: CVE Program / CVE List V5
Vulnerability Description
btcd is an alternative full node bitcoin implementation written in Go (golang). The btcd Bitcoin client (versions 0.10 to 0.24) did not correctly re-implement Bitcoin Core's "FindAndDelete()" functionality. This logic is consensus-critical: the difference in behavior with the other Bitcoin clients can lead to btcd clients accepting an invalid Bitcoin block (or rejecting a valid one). This consensus failure can be leveraged to cause a chain split (accepting an invalid Bitcoin block) or be exploited to DoS the btcd nodes (rejecting a valid Bitcoin block). An attacker can create a standard transaction where FindAndDelete doesn't return a match but removeOpCodeByData does making btcd get a different sighash, leading to a chain split. Importantly, this vulnerability can be exploited remotely by any Bitcoin user and does not require any hash power. This is because the difference in behavior can be triggered by a "standard" Bitcoin transaction, that is a transaction which gets relayed through the P2P network before it gets included in a Bitcoin block. `removeOpcodeByData(script []byte, dataToRemove []byte)` removes any data pushes from `script` that contain `dataToRemove`. However, `FindAndDelete` only removes exact matches. So for example, with `script = "<data> <data||foo>"` and `dataToRemove = "data"` btcd will remove both data pushes but Bitcoin Core's `FindAndDelete` only removes the first `<data>` push. This has been patched in btcd version v0.24.2. Users are advised to upgrade. There are no known workarounds for this issue.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
控制流实现总是不正确
来源: CVE Program / CVE List V5
Vulnerability Title
btcd 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
btcd是Bitcoin in Go开源的一种用 Go(golang) 编写的另一种全节点比特币实现。 btcd 0.10至0.24版本存在安全漏洞,该漏洞源于未能正确重新实现Bitcoin Core的FindAndDelete功能,导致btcd客户端接受无效的比特币区块或拒绝有效的比特币区块。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
btcsuite btcd >= 0.10.0, < 0.24.2 -

二、漏洞 CVE-2024-38365 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5419 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2024-38365 的情报信息

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

CVE-2024-38365 补丁与修复 (1)

CVE-2024-38365 其他参考 (1)

IV. Related Vulnerabilities