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 applicationsUpgrade github.com/cometbft/cometbft/consensus to version 0.37.16, 0.38.19 or higher.
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 Handling of Syntactically Invalid Structure via the handling of BitArray objects with mismatched Elems and Bits values. An attacker can cause network disruption or halt by sending specially crafted messages containing invalid BitArray states to peers, which may then propagate these messages throughout the network before processing them themselves.
This vulnerability can be mitigated by banning the IP address of malicious peers using tools such as iptables.