Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.
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 can introduce other weaknesses when the calculation is used for resource management or execution control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Redis | Redislabs | 2.8.0 (including) | 2.8.24 (excluding) |
Redis | Redislabs | 3.0.0 (including) | 3.0.6 (excluding) |
Redis | Redislabs | 5.0.0 (including) | 5.0.8 (excluding) |
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 | RedHat | redis-0:2.8.24-1.el7ost | * |
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | RedHat | redis-0:2.8.24-1.el7ost | * |
Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 | RedHat | redis-0:2.8.24-1.el7ost | * |
Redis | Ubuntu | artful | * |
Redis | Ubuntu | esm-infra-legacy/trusty | * |
Redis | Ubuntu | precise | * |
Redis | Ubuntu | trusty | * |
Redis | Ubuntu | trusty/esm | * |
Redis | Ubuntu | upstream | * |
Redis | Ubuntu | vivid | * |
Redis | Ubuntu | wily | * |
Redis | Ubuntu | yakkety | * |
Redis | Ubuntu | zesty | * |