{"id":"BIT-redis-2022-24736","summary":"A Malformed Lua script can crash Redis","details":"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.","aliases":["BIT-keydb-2022-24736","BIT-valkey-2022-24736","CVE-2022-24736","GHSA-3qpw-7686-5984"],"modified":"2025-10-08T05:13:05.517527Z","published":"2024-03-06T11:06:15.666Z","database_specific":{"cpes":["cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/redis/redis/pull/10651"},{"type":"WEB","url":"https://github.com/redis/redis/releases/tag/6.2.7"},{"type":"WEB","url":"https://github.com/redis/redis/releases/tag/7.0.0"},{"type":"WEB","url":"https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202209-17"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220715-0003/"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24736"}],"affected":[{"package":{"name":"redis","ecosystem":"Bitnami","purl":"pkg:bitnami/redis"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.7"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/redis/BIT-redis-2022-24736.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.7.3"}