NetSight
medium5.5

CVE-2024-31228

Redis is an open source, in-memory database that persists on disk.

Impact

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.

Affected products

VendorProductAffected versions
RedisRedis
from 2.2.5 before 6.2.16
from 7.2.0 before 7.2.6
Version 7.4.0

Weakness classification

References