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.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.6%top 23.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12node-redis3.0.2+~cs5.18.1-3DEBIAN-CVE-2021-29469
Debian:13node-redis3.0.2+~cs5.18.1-3DEBIAN-CVE-2021-29469
Debian:14node-redis3.0.2+~cs5.18.1-3DEBIAN-CVE-2021-29469
Ubuntu:22.04:LTSnode-redisno fix listedUBUNTU-CVE-2021-29469
npmredis3.1.1GHSA-35q2-47q7-3pc3

Affected products (as reported)

VendorProductVersions
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