Memory Exhaustion in CometBFT v1.0.1 via malicious ProposalMessage leads to network-wide denial of service
该报告还没有中文解读。
原文摘录
摘自原文(2585 字符中的一小部分)
Summary of Impact CometBFT v1.0.1 contains a critical memory exhaustion vulnerability that allows any peer to crash nodes with a single ~50-byte P2P message. An attacker can send a malicious `ProposalMessage` with `PartSetHeader.Total` set to `2^32-1`, causing the receiving node to immediately …
原文中的代码
package main
import (
"math"
"github.com/cometbft/cometbft/types"
cmtcons "github.com/cometbft/cometbft/api/cometbft/consensus/v1"
)
func main() {
// Create malicious proposal
proposal := types.NewProposal(1, 0, -1, types.BlockID{
Hash: make([]byte, 32), …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Cosmos 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @0xjam · 版权归作者与 Cosmos 所有