CVE-2024-31228

Medium

Description

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND LIST` and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

SeverityMedium
CVSS5.5
Exploit probability—
ProductRedis
PublishedOct 7, 2024
First seenOct 7, 2024
Weakness typeCWE-674CWE-674

How to fix

Update
  • redis redis6.2.16, 7.2.6 or later

Affected products

ProductAffected versionsFixed in
redis redis2.2.5 ≤ v < 6.2.16, 7.2.0 ≤ v < 7.2.6, 7.4.06.2.16, 7.2.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.