{"id":"CVE-2022-24736","state":"PUBLISHED","title":"A Malformed Lua script can crash Redis","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.","publishedAt":"2022-04-27T19:55:10.000Z","updatedAt":"2025-04-22T18:02:34.902Z","severity":{"score":3.3,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["redis redis"],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":"< 6.2.7","status":"affected"},{"version":"< 7.0.0","status":"affected"}]}],"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"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T19:49:43.915Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/24xxx/CVE-2022-24736.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-24736","state":"PUBLISHED","datePublished":"2022-04-27T19:55:10.000Z","dateUpdated":"2025-04-22T18:02:34.902Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-02-10T00:00:00.000Z"},"containers":{"cna":{"title":"A Malformed Lua script can crash Redis","descriptions":[{"lang":"en","value":"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":[{"vendor":"redis","product":"redis","versions":[{"version":"< 6.2.7","status":"affected"},{"version":"< 7.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/redis/redis/pull/10651","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/","name":"FEDORA-2022-6ed1ce2838","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/","name":"FEDORA-2022-a0a4c7eb31","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/","name":"FEDORA-2022-44373f6778","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220715-0003/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202209-17","name":"GLSA-202209-17","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-09-29T16:07:32.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-3qpw-7686-5984","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-24736","STATE":"PUBLIC","TITLE":"A Malformed Lua script can crash Redis"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"redis","version":{"version_data":[{"version_value":"< 6.2.7"},{"version_value":"< 7.0.0"}]}}]},"vendor_name":"redis"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-476: NULL Pointer Dereference"}]}]},"references":{"reference_data":[{"name":"https://github.com/redis/redis/pull/10651","refsource":"MISC","url":"https://github.com/redis/redis/pull/10651"},{"name":"https://github.com/redis/redis/releases/tag/6.2.7","refsource":"MISC","url":"https://github.com/redis/redis/releases/tag/6.2.7"},{"name":"https://github.com/redis/redis/releases/tag/7.0.0","refsource":"MISC","url":"https://github.com/redis/redis/releases/tag/7.0.0"},{"name":"https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984","refsource":"CONFIRM","url":"https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984"},{"name":"FEDORA-2022-6ed1ce2838","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/"},{"name":"FEDORA-2022-a0a4c7eb31","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/"},{"name":"FEDORA-2022-44373f6778","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/"},{"name":"https://www.oracle.com/security-alerts/cpujul2022.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"name":"https://security.netapp.com/advisory/ntap-20220715-0003/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220715-0003/"},{"name":"GLSA-202209-17","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202209-17"}]},"source":{"advisory":"GHSA-3qpw-7686-5984","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/redis/redis/pull/10651","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.7","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/","name":"FEDORA-2022-6ed1ce2838","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/","name":"FEDORA-2022-a0a4c7eb31","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/","name":"FEDORA-2022-44373f6778","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220715-0003/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-17","name":"GLSA-202209-17","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:20:50.463Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:48:18.596255Z","id":"CVE-2022-24736","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-22T18:02:34.902Z"}}]}}}