Node-Redis potential exponential regex in monitor mode
Impact
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.
Patches
The problem was fixed in commit 2d11b6d and was released in version 3.1.1.
References
#1569 (GHSL-2021-026)
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | redis | >= 2.6.0, < 3.1.1 | 3.1.1 |
References
- https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3
- https://nvd.nist.gov/vuln/detail/CVE-2021-29469
- https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e
- https://github.com/NodeRedis/node-redis/releases/tag/v3.1.1
- https://security.netapp.com/advisory/ntap-20210611-0010
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-400- Platform
- npm
- Package
redis- Disclosed
- 27.04.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-35q2-47q7-3pc3 - CC BY 4.0
Vulnerability history: redis
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.