Skip to content

Commit 5ab3843

Browse files
committed
data/reports: add GO-2023-1882.yaml
Aliases: CVE-2023-34450 Fixes #1882 Change-Id: I75b725165c45e89f6ccd90cc1bc4cb96d2ee1e07 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/507903 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
1 parent f4ae623 commit 5ab3843

File tree

2 files changed

+93
-0
lines changed

2 files changed

+93
-0
lines changed

data/osv/GO-2023-1882.json

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2023-1882",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2023-34450",
8+
"GHSA-mvj3-qrqh-cjvr"
9+
],
10+
"summary": "Deadlock in github.com/cometbft/cometbft/consensus",
11+
"details": "An internal modification to the way PeerState is serialized to JSON introduced a deadlock when the new function MarshalJSON is called.\n\nThis function can be called in two ways. The first is via logs, by setting the consensus logging module to \"debug\" level (which should not happen in production), and setting the log output format to JSON. The second is via RPC dump_consensus_state.",
12+
"affected": [
13+
{
14+
"package": {
15+
"name": "github.com/cometbft/cometbft",
16+
"ecosystem": "Go"
17+
},
18+
"ranges": [
19+
{
20+
"type": "SEMVER",
21+
"events": [
22+
{
23+
"introduced": "0.37.1"
24+
},
25+
{
26+
"fixed": "0.37.2"
27+
}
28+
]
29+
}
30+
],
31+
"ecosystem_specific": {
32+
"imports": [
33+
{
34+
"path": "github.com/cometbft/cometbft/consensus",
35+
"symbols": [
36+
"PeerState.MarshalJSON"
37+
]
38+
}
39+
]
40+
}
41+
}
42+
],
43+
"references": [
44+
{
45+
"type": "ADVISORY",
46+
"url": "https://github.com/cometbft/cometbft/security/advisories/GHSA-mvj3-qrqh-cjvr"
47+
},
48+
{
49+
"type": "FIX",
50+
"url": "https://github.com/cometbft/cometbft/pull/524"
51+
},
52+
{
53+
"type": "FIX",
54+
"url": "https://github.com/cometbft/cometbft/pull/863"
55+
},
56+
{
57+
"type": "FIX",
58+
"url": "https://github.com/cometbft/cometbft/pull/865"
59+
}
60+
],
61+
"database_specific": {
62+
"url": "https://pkg.go.dev/vuln/GO-2023-1882"
63+
}
64+
}

data/reports/GO-2023-1882.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
id: GO-2023-1882
2+
modules:
3+
- module: github.com/cometbft/cometbft
4+
versions:
5+
- introduced: 0.37.1
6+
fixed: 0.37.2
7+
vulnerable_at: 0.37.1
8+
packages:
9+
- package: github.com/cometbft/cometbft/consensus
10+
symbols:
11+
- PeerState.MarshalJSON
12+
summary: Deadlock in github.com/cometbft/cometbft/consensus
13+
description: |-
14+
An internal modification to the way PeerState is serialized to JSON introduced
15+
a deadlock when the new function MarshalJSON is called.
16+
17+
This function can be called in two ways. The first is via logs, by setting
18+
the consensus logging module to "debug" level (which should not happen in
19+
production), and setting the log output format to JSON. The second is via
20+
RPC dump_consensus_state.
21+
cves:
22+
- CVE-2023-34450
23+
ghsas:
24+
- GHSA-mvj3-qrqh-cjvr
25+
references:
26+
- advisory: https://github.com/cometbft/cometbft/security/advisories/GHSA-mvj3-qrqh-cjvr
27+
- fix: https://github.com/cometbft/cometbft/pull/524
28+
- fix: https://github.com/cometbft/cometbft/pull/863
29+
- fix: https://github.com/cometbft/cometbft/pull/865

0 commit comments

Comments
 (0)