Skip to main content
← All vulnerabilities
CVE-2022-24736

A Malformed Lua script can crash Redis

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.7, 7.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • redis redis

    fixed in 6.2.7; fixed in 7.0.0

References 10

GitHub · redis/redis

lists.fedoraproject.org

oracle.com

security.netapp.com

security.gentoo.org