HIGH7.5
GHSA-35q2-47q7-3pc3
Node-Redis potential exponential regex in monitor mode
Quick fix
GHSA-35q2-47q7-3pc3 — redis: upgrade to the fixed version with the command below.
npm install redis@3.1.1Details
### 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)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-29469[ADVISORY]
- https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e[WEB]
- https://github.com/NodeRedis/node-redis/releases/tag/v3.1.1[WEB]
- https://security.netapp.com/advisory/ntap-20210611-0010[WEB]