CVE-2021-29469 Potential exponential regex in monitor mode

Medium 5.3 Published Updated

An attacker can cause a denial of service via exponential regex backtracking when the client is in monitoring mode.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-29469?

CVE-2021-29469 is a medium-severity denial of service vulnerability in NodeRedis node-redis, published on 23 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-400

Which versions are affected by CVE-2021-29469?

2 open source packages ship an affected version, including redis. It affects 1 product.

PackageAffectedFixed in
redis npmFrom 2.6.03.1.1
redis npmFrom 2.6.03.1.1

Products include Redis.js Redis.

How do I fix CVE-2021-29469?

Upgrade redis to 3.1.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-29469 being exploited?

There is no known exploitation of CVE-2021-29469 in the wild and no public exploit code.

Sources

Also known as CLSA-2026-1776818209, DEBIAN-CVE-2021-29469, GHSA-35q2-47q7-3pc3, UBUNTU-CVE-2021-29469.

Is CVE-2021-29469 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free