In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsA fix was pushed into the master
branch but not yet published.
github.com/cometbft/cometbft/consensus is a Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine - written in any programming language - and securely replicates it on many machines.
Affected versions of this package are vulnerable to Improper Validation of Array Index via the ValidatorIndex
field. An attacker can cause the node to crash by producing and sending a malformed Vote
message.
Note:
This is only exploitable if vote extensions are enabled and the attacker can modify the Vote
message to include an invalid ValidatorIndex
.
This vulnerability can be mitigated by increasing the logging level of the consensus
module and banning the malicious peer at the p2p layer.