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.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Red Hat Enterprise Linux 8 | RedHat | redis:6-8100020250113083959.489197e6 | * |
Red Hat Enterprise Linux 9 | RedHat | redis:7-9050020241104103753.9 | * |
Red Hat Enterprise Linux 9 | RedHat | redis-0:6.2.17-1.el9_5 | * |
Redis | Ubuntu | trusty/esm | * |