Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted LUA script to read out-of-bound data or crash the server and subsequent denial of service. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.
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.2.20 (excluding) |
| Red Hat Enterprise Linux 10 | RedHat | valkey-0:8.0.6-1.el10_0 | * |
| Red Hat Enterprise Linux 10 | RedHat | valkey-0:8.0.6-2.el10_1 | * |
| Red Hat Enterprise Linux 8 | RedHat | redis:6-8100020251007064521.489197e6 | * |
| Red Hat Enterprise Linux 9 | RedHat | redis-0:6.2.20-1.el9_6 | * |
| Red Hat Enterprise Linux 9 | RedHat | redis:7-9060020251007094800.9 | * |
| Red Hat Enterprise Linux 9 | RedHat | redis-0:6.2.20-2.el9_7 | * |
| Red Hat Enterprise Linux 9 | RedHat | redis:7-9070020251016095039.9 | * |
| Red Hat Enterprise Linux 9 | RedHat | valkey-0:8.0.6-2.el9_7 | * |
| Valkey | Ubuntu | esm-apps/noble | * |
| Valkey | Ubuntu | noble | * |
| Valkey | Ubuntu | plucky | * |
| Valkey | Ubuntu | questing | * |