Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:41232
HistoryJul 12, 2023 - 12:22 p.m.

Denial Of Service (DoS)

2023-07-1212:22:26
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
12
github.com/cometbft/cometbft
denial of service
deadlock
peerstate
serialization
json
node crashes

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS

0.001

Percentile

30.9%

github.com/cometbft/cometbft is vulnerable to Denial of Service (DoS) attacks. A deadlock is introduced when serializing the struct PeerState to JSON when the new method MarshallJSON is used. One way is via Logs, putting the consensus module to debug level, and changing the output format to JSON. On the other hand, RPC dump_consensus_state will finally encounter the impasse, stopping the node, causing the application to crash.

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS

0.001

Percentile

30.9%

Related for VERACODE:41232