Skip to content

Commit cc6101e

Browse files
committed
data/reports: add GO-2024-2951
- data/reports/GO-2024-2951.yaml Fixes #2951 Change-Id: I3714b42140d6c974de899161111cd5d65ca0bd65 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/596215 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Tatiana Bradley <[email protected]>
1 parent 6b8d768 commit cc6101e

File tree

2 files changed

+124
-0
lines changed

2 files changed

+124
-0
lines changed

data/osv/GO-2024-2951.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2024-2951",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"GHSA-hg58-rf2h-6rr7"
8+
],
9+
"summary": "Denial of service when syncing with a malicious peer in github.com/cometbft/cometbft",
10+
"details": "A malicious peer can cause a syncing node to panic during blocksync. The syncing node may enter into a catastrophic invalid syncing state or get stuck in blocksync mode, never switching to consensus. Nodes that are vulnerable to this state may experience a Denial of Service condition in which syncing will not work as expected when joining a network as a client.",
11+
"affected": [
12+
{
13+
"package": {
14+
"name": "github.com/cometbft/cometbft",
15+
"ecosystem": "Go"
16+
},
17+
"ranges": [
18+
{
19+
"type": "SEMVER",
20+
"events": [
21+
{
22+
"introduced": "0.37.0"
23+
},
24+
{
25+
"fixed": "0.37.7"
26+
},
27+
{
28+
"introduced": "0.38.0"
29+
},
30+
{
31+
"fixed": "0.38.8"
32+
}
33+
]
34+
}
35+
],
36+
"ecosystem_specific": {
37+
"imports": [
38+
{
39+
"path": "github.com/cometbft/cometbft/blocksync",
40+
"symbols": [
41+
"BlockPool.OnStart",
42+
"BlockPool.RedoRequest",
43+
"BlockPool.RemovePeerAndRedoAllPeerRequests",
44+
"BlockPool.SetPeerRange",
45+
"BlockPool.removeTimedoutPeers",
46+
"NewBlockPool",
47+
"NewReactor",
48+
"Reactor.OnStart",
49+
"Reactor.Receive",
50+
"Reactor.SwitchToBlockSync"
51+
]
52+
}
53+
]
54+
}
55+
}
56+
],
57+
"references": [
58+
{
59+
"type": "ADVISORY",
60+
"url": "https://github.com/cometbft/cometbft/security/advisories/GHSA-hg58-rf2h-6rr7"
61+
},
62+
{
63+
"type": "FIX",
64+
"url": "https://github.com/cometbft/cometbft/commit/07866e11139127e415bd0339ac377b6e6a845533"
65+
},
66+
{
67+
"type": "FIX",
68+
"url": "https://github.com/cometbft/cometbft/commit/8ba2e4f52d5e626e019501ba6420cc86d5de7857"
69+
}
70+
],
71+
"credits": [
72+
{
73+
"name": "unknown_feature"
74+
}
75+
],
76+
"database_specific": {
77+
"url": "https://pkg.go.dev/vuln/GO-2024-2951",
78+
"review_status": "REVIEWED"
79+
}
80+
}

data/reports/GO-2024-2951.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
id: GO-2024-2951
2+
modules:
3+
- module: github.com/cometbft/cometbft
4+
versions:
5+
- introduced: 0.37.0
6+
- fixed: 0.37.7
7+
- introduced: 0.38.0
8+
- fixed: 0.38.8
9+
vulnerable_at: 0.38.7
10+
packages:
11+
- package: github.com/cometbft/cometbft/blocksync
12+
symbols:
13+
- NewBlockPool
14+
- BlockPool.removeTimedoutPeers
15+
- BlockPool.RemovePeerAndRedoAllPeerRequests
16+
- BlockPool.SetPeerRange
17+
derived_symbols:
18+
- BlockPool.OnStart
19+
- BlockPool.RedoRequest
20+
- NewReactor
21+
- Reactor.OnStart
22+
- Reactor.Receive
23+
- Reactor.SwitchToBlockSync
24+
summary: |-
25+
Denial of service when syncing with a malicious peer in
26+
github.com/cometbft/cometbft
27+
description: |-
28+
A malicious peer can cause a syncing node to panic during blocksync. The syncing
29+
node may enter into a catastrophic invalid syncing state or get stuck in
30+
blocksync mode, never switching to consensus. Nodes that are vulnerable to this
31+
state may experience a Denial of Service condition in which syncing will not
32+
work as expected when joining a network as a client.
33+
ghsas:
34+
- GHSA-hg58-rf2h-6rr7
35+
credits:
36+
- unknown_feature
37+
references:
38+
- advisory: https://github.com/cometbft/cometbft/security/advisories/GHSA-hg58-rf2h-6rr7
39+
- fix: https://github.com/cometbft/cometbft/commit/07866e11139127e415bd0339ac377b6e6a845533
40+
- fix: https://github.com/cometbft/cometbft/commit/8ba2e4f52d5e626e019501ba6420cc86d5de7857
41+
source:
42+
id: GHSA-hg58-rf2h-6rr7
43+
created: 2024-07-02T10:14:20.718028-07:00
44+
review_status: REVIEWED

0 commit comments

Comments
 (0)