What’s Vulnerable › Vulnerabilities
CVE-2021-29469: Potential exponential regex in monitor mode
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-04-23 · updated 2026-06-17
- Weakness: CWE-400
Description
Node-redis is a Node.js Redis client. Before version 3.1.1, when a client is in monitoring mode, the regex begin used to detected monitor messages could cause exponential backtracking on some strings. This issue could lead to a denial of service. The issue is patched in version 3.1.1.
Affected products
- NodeRedis node-redis: before 3.1.1 — fixed in 3.1.1
- Npm Redis: from 2.6.0 before 3.1.1 — fixed in 3.1.1
How to fix
Upgrade to a fixed version: NodeRedis node-redis 3.1.1; Npm Redis 3.1.1. Check the vendor advisory for mitigations.
References
- https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e
- https://github.com/NodeRedis/node-redis/releases/tag/v3.1.1
- https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3
- https://security.netapp.com/advisory/ntap-20210611-0010/
- https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e
- https://github.com/NodeRedis/node-redis/releases/tag/v3.1.1
- https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3
- https://security.netapp.com/advisory/ntap-20210611-0010/
Get alerted when CVE-2021-29469 or the next vulnerability affects your stack