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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24736.json"
}{
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.2.7"
},
{
"last_affected": "7.0-rc1"
},
{
"last_affected": "7.0-rc2"
},
{
"last_affected": "7.0-rc3"
}
],
"cpe": [
"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"cpe:2.3:a:redis:redis:7.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:redis:redis:7.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:redis:redis:7.0:rc3:*:*:*:*:*:*"
]
}