CVE-2022-24834CWE-122CWE-680

Heap overflow issue with the Lua cjson library used by Redis

High · published July 13, 2023

CVSS v3.1
7.0
EPSS
41%
Percentile
98.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.41143 · 98.7th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-680 · Integer Overflow to Buffer Overflow
Published
2023-07-13T14:35Z
EPSS history
Timeline
  • 13 JUL 14:35Z
    Heap overflow issue with the Lua cjson library used by Redis
    cvelistv5