ADVISORIES

GitHub Advisory Database

GHSA-35q2-47q7-3pc3

Node-Redis potential exponential regex in monitor mode

Details

Impact

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.

Patches

The problem was fixed in commit 2d11b6d and was released in version 3.1.1.

References

#1569 (GHSL-2021-026)

Affected packages

EcosystemPackageAffected versions
npmredis
From 2.6.0 before 3.1.1 (fixed in 3.1.1)

References