CVE-2022-24834

published 13 Jul 2023 · updated 13 Feb 2025

Heap overflow issue with the Lua cjson library used by Redis

7.5HighCVSS 7.0EPSS 41%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 41%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Redisredis>=6.0.0 <6.0.20, >=6.2.0 <6.2.13, >=7.0.0 <7.0.12

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Redis, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-24834 severity on Zeptric[![CVE-2022-24834](https://zeptric.io/badge/cve/CVE-2022-24834.svg)](https://zeptric.io/cve/CVE-2022-24834)