express-rate-limit is a Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the ipKeyGenerator function when handling IPv4-mapped IPv6 addresses on dual-stack servers. An attacker can cause all IPv4 clients to be rate-limited simultaneously by exhausting the shared rate limit bucket through repeated requests from a single IPv4 client.
Remediation
Upgrade express-rate-limit to version 8.0.2, 8.1.1, 8.2.2 or higher.