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

Heap overflow issue with the Lua cjson library used by Redis

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.12, 6.2.13, 6.0.20
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • redis redis

    From 7.0.0 · fixed in 7.0.12; From 6.2.0 · fixed in 6.2.13; From 6.0.0 · fixed in 6.0.20

References 6

GitHub · redis/redis

lists.fedoraproject.org

security.netapp.com

GitHub · Nullx97/CVE-2022-24834-

GitHub · convisolabs/CVE-2022-24834