Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted SETRANGE
and SORT(_RO)
commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. Users are advised to upgrade. There are no known workarounds for this vulnerability.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Redis | Redis | 6.0.0 (including) | 6.0.17 (excluding) |
Redis | Redis | 6.2.0 (including) | 6.2.9 (excluding) |
Redis | Redis | 7.0.0 (including) | 7.0.8 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | redis:6-8100020250113083959.489197e6 | * |
Redis | Ubuntu | bionic | * |
Redis | Ubuntu | esm-apps/bionic | * |
Redis | Ubuntu | esm-apps/focal | * |
Redis | Ubuntu | esm-apps/jammy | * |
Redis | Ubuntu | esm-apps/xenial | * |
Redis | Ubuntu | esm-infra-legacy/trusty | * |
Redis | Ubuntu | focal | * |
Redis | Ubuntu | jammy | * |
Redis | Ubuntu | kinetic | * |
Redis | Ubuntu | lunar | * |
Redis | Ubuntu | trusty | * |
Redis | Ubuntu | trusty/esm | * |
Redis | Ubuntu | upstream | * |
Redis | Ubuntu | xenial | * |