Bitcoin Core 在 28.3、29.2 和 30.0 版本之前,还会将通过 IP 范围配置的白名单应用于 Tor 入站对等节点。
此问题被视为中危严重性。
详情
在 Bitcoin Core 中,入站 Tor 对等节点的 IP 地址是 Tor 守护进程的地址,该守护进程通常运行在同一台机器或本地网络上。-whitelist配置会为受信任的对等节点解除各种 DoS 限制和隐私泄露缓解措施。如果 Tor 代理的地址与通过-whitelist选项配置的 IP 范围匹配,Bitcoin Core 会将入站 Tor 连接列入白名单。
在 Bitcoin Core 30.0 及所有更高版本,以及 28.3 及更高次要版本和 29.2 及更高次要版本中,通过 onion 绑定接收的入站 Tor 连接永远不会被列入白名单。未设置非默认-whitelist选项的节点从未受到影响。
许多流行厂商将 Bitcoin Core 与 Tor 守护进程捆绑在一起,并将-whitelist选项设置为与 Tor 守护进程匹配的 IP 范围。-whitelist选项也是 Bitcoin Core 客户端软件的运行要求,该软件通常与 Tor 守护进程一起运行。这导致数千个可到达的主网节点将所有传入的 Tor 连接列入白名单。
归因
Martin Zumsande 和 Antoine Poinsot 发现了该问题并负责任地披露了它。
时间线
- 2025-09-12 Martin 和 Antoine 向 Bitcoin Core 安全团队报告此问题
- 2025-09-15 Martin 打开 PR#33395以在应用白名单权限时停止考虑 Tor 入站对等节点
- 2025-09-17 Antoine 向 Bitcoin Knots 维护者 Luke Dashjr 报告此问题,后者于同日确认
- 2025-09-17 PR #33395 被合并并向后移植到之前的版本
- 2025-09-19 Antoine 向多个受影响的软件提供商报告此问题
- 2025-10-10 Bitcoin Core 30.0 发布,包含修复
- 2025-10-14 Bitcoin Core 29.2 发布,包含修复
- 2025-10-20 Bitcoin Core 28.3 发布,包含修复
- 2026-10-27 最后一个受影响的 Bitcoin Core 版本(29.x)停止支持
- 2026-11-10 公开披露。
转载说明 / Republication notice
来源 / Source:Bitcoin Core;作者 / Author:Bitcoin Core。
本文按 MIT 转载。保留原作者署名、原文链接和许可声明,正文翻译为中文,未转载原图;封面为本站配图。Chinese translation; original attribution, links and licence retained, original images omitted, cover supplied by this site.
The MIT License (MIT) Copyright (c) 2014 Michael Rose Copyright (c) 2015 Sylvain Durand Copyright (c) 2016 Respective Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
本文为新云社自动翻译的中文译文;原作者、来源与原始发布日期保留,译文仅供参考,请以原文为准。





