Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to SCRIPT LOAD
and EVAL
commands using ACL rules.
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Redis | Redis | * | 6.2.7 (excluding) |
Redis | Redis | 7.0-rc1 (including) | 7.0-rc1 (including) |
Redis | Redis | 7.0-rc2 (including) | 7.0-rc2 (including) |
Redis | Redis | 7.0-rc3 (including) | 7.0-rc3 (including) |
Red Hat Enterprise Linux 8 | RedHat | redis:6-8070020220509142426.3b9f49c4 | * |
Red Hat Enterprise Linux 9 | RedHat | redis-0:6.2.7-1.el9 | * |
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 | impish | * |
Redis | Ubuntu | jammy | * |
Redis | Ubuntu | kinetic | * |
Redis | Ubuntu | lunar | * |
Redis | Ubuntu | trusty/esm | * |