high7.5
CVE-2021-29469
Node-Redis potential exponential regex in monitor mode
Impact
### 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`](https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e) and was released in version `3.1.1`. ### References #1569 (GHSL-2021-026)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | redis | >= 2.6.0, < 3.1.1 | 3.1.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redis.Js | Redis | before 3.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-35q2-47q7-3pc3
- https://nvd.nist.gov/vuln/detail/CVE-2021-29469