Skip to main content
← All vulnerabilities
CVE-2024-31449

Lua library commands may lead to stack overflow and RCE in Redis

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.16, 7.2.6, 7.4.1
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • redis redis

    From 2.6 · fixed in 6.2.16; From 7.0.0 · fixed in 7.2.6; From 7.3.0 · fixed in 7.4.1

References 3

GitHub · redis/redis

GitHub · daeseong1209/CVE-2024-31449