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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| redis | redis | < 6.2.7; < 7.0.0 |
References
- https://github.com/redis/redis/pull/10651Exploit, Third Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.7Release Notes, Third Party Advisory
- https://github.com/redis/redis/releases/tag/7.0.0Release Notes, Third Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
- 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://security.gentoo.org/glsa/202209-17Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220715-0003/Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
- https://github.com/redis/redis/pull/10651Exploit, Third Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.7Release Notes, Third Party Advisory
- https://github.com/redis/redis/releases/tag/7.0.0Release Notes, Third Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
- 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://security.gentoo.org/glsa/202209-17Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220715-0003/Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Apr 27, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified