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"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.2.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redis:redis:7.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0-rc1"
},
{
"last_affected": "7.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:redis:redis:7.0:rc2:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0-rc2"
},
{
"last_affected": "7.0-rc2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:redis:redis:7.0:rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0-rc3"
},
{
"last_affected": "7.0-rc3"
}
],
"source": "CPE_STRING"
},
{
"original_tag": "6.2.7",
"range": [
{
"fixed": "e6f67092f8d4d81761a60c46011d1ff1dc3c2628"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "7.0.0",
"range": [
{
"fixed": "d375595d5e3ae2e5c29e6c00a2dc3d60578fd9fc"
}
],
"source": "REFERENCES_TAG"
}
]
}