Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 @libp2p/kad-dht to version 16.2.6 or higher.
@libp2p/kad-dht is a JavaScript implementation of the Kad-DHT for libp2p
Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input in the verifyRecord() function that leads to the unlimited message processing since rate limits are applied only to successfully received messages. An attacker can exhaust disk storage and render the node unavailable by sending a continuous stream of crafted PUT_VALUE messages with keys that bypass content validation.