Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
redis redis
< 6.2.7affected< 7.0.0affected
References
- https://github.com/redis/redis/pull/10651 ↗
- https://github.com/redis/redis/releases/tag/6.2.7 ↗
- https://github.com/redis/redis/releases/tag/7.0.0 ↗
- https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984 ↗
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/ ↗
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/ ↗
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/ ↗
- https://www.oracle.com/security-alerts/cpujul2022.html ↗
- https://security.netapp.com/advisory/ntap-20220715-0003/ ↗
- https://security.gentoo.org/glsa/202209-17 ↗