Skip to content

CVE-2021-29469 Potential exponential regex in monitor mode

HighCVSS 7.5 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-redis(Ubuntu 16.04) = 0.12.1-2; All versions No fix listed No fix yet
ubuntu/node-redis(Ubuntu 18.04) = 0.12.1-2; All versions No fix listed No fix yet
ubuntu/node-redis(Ubuntu 20.04) = 2.8.0-1; = 3.0.2-1; All versions No fix listed No fix yet
ubuntu/node-redis(Ubuntu 22.04) = 3.0.2+~cs5.18.1-3; = 3.1.2+~cs6.15.1-1; All versions No fix listed No fix yet
debian/node-redis(Debian 12) < 3.0.2+~cs5.18.1-3 3.0.2+~cs5.18.1-3 Fixed
debian/node-redis(Debian 13) < 3.0.2+~cs5.18.1-3 3.0.2+~cs5.18.1-3 Fixed
debian/node-redis(Debian 14) < 3.0.2+~cs5.18.1-3 3.0.2+~cs5.18.1-3 Fixed
npm redis(npm) >= 2.6.0, < 3.1.1 3.1.1 Fixed
redis.js redis < 3.1.1 3.1.1 Fixed
NodeRedis node-redis = < 3.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm redis(npm) >= 2.6.0, < 3.1.1 3.1.1
debian/node-redis(Debian:12) < 3.0.2+~cs5.18.1-3 3.0.2+~cs5.18.1-3
debian/node-redis(Debian:13) < 3.0.2+~cs5.18.1-3 3.0.2+~cs5.18.1-3
debian/node-redis(Debian:14) < 3.0.2+~cs5.18.1-3 3.0.2+~cs5.18.1-3
ubuntu/node-redis(Ubuntu:22.04) All versions No fix listed
redis.js redis < 3.1.1 3.1.1
NodeRedis node-redis = < 3.1.1 No fix listed
ubuntu/node-redis(Ubuntu:16.04) All versions No fix listed
ubuntu/node-redis(Ubuntu:16.04) = 0.12.1-2 No fix listed
ubuntu/node-redis(Ubuntu:18.04) All versions No fix listed
ubuntu/node-redis(Ubuntu:18.04) = 0.12.1-2 No fix listed
ubuntu/node-redis(Ubuntu:20.04) All versions No fix listed
ubuntu/node-redis(Ubuntu:20.04) = 2.8.0-1 No fix listed
ubuntu/node-redis(Ubuntu:20.04) = 3.0.2-1 No fix listed
ubuntu/node-redis(Ubuntu:22.04) = 3.0.2+~cs5.18.1-3 No fix listed
ubuntu/node-redis(Ubuntu:22.04) = 3.1.2+~cs6.15.1-1 No fix listed

References