CVE-2022-24736
published 2022-04-27CVE-2022-24736: 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…
PriorityP425medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
1.50%
71.3th percentile
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
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | redis | < redis 5:7.0.1-4 (bookworm) | redis 5:7.0.1-4 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_ceph_16.2.10-10_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_ceph_16.2.10-11_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_redis_6.2.7-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_redis_6.2.7-1_on_cbl_mariner_1.0 | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| redis | redis | < 7.0.0 | 7.0.0 |
| redis | redis | < 6.2.7 | 6.2.7 |
| redis | redis | — | — |
| redis | redis | >= 0 < 5:7.0.1-4 | 5:7.0.1-4 |
| redis | redis | >= 0 < 5:7.0.1-4 | 5:7.0.1-4 |
| redis | redis | >= 0 < 5:7.0.1-4 | 5:7.0.1-4 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_debian3.3LOW
vendor_redhat3.3LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
redis: Malformed Lua script can crash Redis
vendor_redhat·2022-04-27·CVSS 3.3
CVE-2022-24736 [LOW] CWE-476 redis: Malformed Lua script can crash Redis
redis: Malformed Lua script can crash Redis
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.
A flaw was found in the Redis database when a malformed Lua script can cause a NULL pointer dereference. This flaw allows an attacker to load a crafting script, which results in a crash of the redis-server process.
Mitigation: If Lua scripting is
Microsoft
A Malformed Lua script can crash Redis
vendor_msrc·2022-04-12·CVSS 5.5
CVE-2022-24736 [LOW] CWE-476 A Malformed Lua script can crash Redis
A Malformed Lua script can crash Redis
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.
Debian
CVE-2022-24736: redis - Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 an...
vendor_debian·2022·CVSS 3.3
CVE-2022-24736 [LOW] CVE-2022-24736: redis - Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 an...
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.
Scope: local
bookworm: resolved (fixed in 5:7.0.1-4)
bullseye: open
forky: resolved (fixed in 5:7.0.1-4)
sid: resolved (fixed in 5:7.0.1-4)
trixie: resolved (fixed in 5:7.0.1-4)
OSV
CVE-2022-24736: Redis is an in-memory database that persists on disk
osv·2022-04-27·CVSS 5.5
CVE-2022-24736 [MEDIUM] CVE-2022-24736: Redis is an in-memory database that persists on disk
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/redis/redis/pull/10651https://github.com/redis/redis/releases/tag/6.2.7https://github.com/redis/redis/releases/tag/7.0.0https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984https://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-17https://security.netapp.com/advisory/ntap-20220715-0003/https://www.oracle.com/security-alerts/cpujul2022.htmlhttps://github.com/redis/redis/pull/10651https://github.com/redis/redis/releases/tag/6.2.7https://github.com/redis/redis/releases/tag/7.0.0https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984https://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-17https://security.netapp.com/advisory/ntap-20220715-0003/https://www.oracle.com/security-alerts/cpujul2022.html
2022-04-27
Published