Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-29469 EUVD-2021-0743GHSA-35q2-47q7-3pc3

Potential exponential regex in monitor mode

Published Apr 23, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
NodeRedis node-redis < 3.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-redis 3.0.2+~cs5.18.1-3 —
Debian 13 node-redis 3.0.2+~cs5.18.1-3 —
Debian 12 node-redis 3.0.2+~cs5.18.1-3 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS node-redis No fix yet —
Ubuntu 20.04 LTS node-redis No fix yet —
Ubuntu 18.04 LTS node-redis No fix yet —
Ubuntu 16.04 LTS node-redis No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm redis >= 2.6.0, < 3.1.1 3.1.1 GHSA-35q2-47q7-3pc3

Advisories 1

References