{"id":"CVE-2021-29469","published":"2021-04-23T18:10:15Z","modified":"2024-08-03T22:11:05Z","title":"Potential exponential regex in monitor mode","vendor":"NodeRedis","product":"node-redis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01629,"percentile":0.76793,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/NodeRedis/node-redis/security/advisories/GHSA-35q2-47q7-3pc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e","tags":["x_refsource_MISC"]},{"url":"https://github.com/NodeRedis/node-redis/releases/tag/v3.1.1","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210611-0010/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":15.36},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"noderedis","affectedVersions":[{"vendor":"NodeRedis","product":"node-redis","versions":["< 3.1.1"]}],"affected":[{"ecosystem":"npm","package":"redis","vulnerableRanges":[">=2.6.0, <3.1.1"],"patched":["3.1.1"],"from":["GHSA-35q2-47q7-3pc3"],"provenance":"source"}],"summary":{"text":"The flaw is in the monitor-mode message parsing of node-redis, a Node.js Redis client, where a regular expression used to detect monitor messages can suffer exponential backtracking on certain strings. An attacker with low privileges on the network, able to supply data that reaches a client in monitoring mode, can trigger this to cause a denial of service, with high complexity required for the attack to succeed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:40Z"},"euvd":{"id":"EUVD-2021-0743","exploited":false,"provenance":"source"}}