HighGHSA-35q2-47q7-3pc3CVE-2021-29469

Node-Redis potential exponential regex in monitor mode

Published 27 Apr 2021 · Updated 8 Jul 2026

Affected package

Affected
>=2.6.0 <3.1.1
Fixed in
3.1.1
Update to the fixed version for your release line, for example:npm install redis@3.1.1

Details

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)

Is GHSA-35q2-47q7-3pc3 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected redis, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.