@cosmjs/faucet-client is vulnerable to Regular Expression Denial of Service (ReDoS)
45
Medium Risk
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to inefficient slash-stripping logic in a regular expression. The vulnerability allows attackers to craft malicious inputs containing excessive consecutive slashes, triggering catastrophic backtracking in the regex engine. It causes exponentially increasing processing time, consumes CPU resources indefinitely, and leads to application hang or crash. Successful exploitation results in a denial of service, disrupting service availability without requiring authentication.
You are affected if you are using a version that falls within the vulnerable range.
@cosmjs/faucet-client is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.26.8 - 0.33.1.
Upgrade the @cosmjs/faucet-client library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant