Vulnerability · Published Apr 23, 2021 · Assigned by GitHub_M
CVE-2021-29469Potential exponential regex in monitor mode
Medium 5.3
In plain English
A medium-severity uncontrolled resource consumption in node-redis from NodeRedis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-redis | 3.0.2+~cs5.18.1-3 | DEBIAN-CVE-2021-29469 |
| Debian:13 | node-redis | 3.0.2+~cs5.18.1-3 | DEBIAN-CVE-2021-29469 |
| Debian:14 | node-redis | 3.0.2+~cs5.18.1-3 | DEBIAN-CVE-2021-29469 |
| Ubuntu:22.04:LTS | node-redis | no fix listed | UBUNTU-CVE-2021-29469 |
| npm | redis | 3.1.1 | GHSA-35q2-47q7-3pc3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NodeRedis | node-redis | < 3.1.1 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3 x_refsource_CONFIRM
- https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e x_refsource_MISC
- https://github.com/NodeRedis/node-redis/releases/tag/v3.1.1 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210611-0010/ x_refsource_CONFIRM