CVE-2022-24834

Heap overflow issue with the Lua cjson library used by Redis

HIGH
8.8
CVSS Score
Published: July 13, 2023 at 02:35 PM UTC
Updated: June 17, 2026 at 04:32 AM UTC
2 products affected across 2 vendorsFedoraRedis

Using redis by redis?

Get instant alerts when new vulnerabilities affect redis - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 41%
SSVC
PoC

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.0.20v < 6.2.13v < 7.0.122.6.0 ≤ v < 6.0.206.0.0 ≤ v < 6.0.206.2.0 ≤ v < 6.2.137.0.0 ≤ v < 7.0.126.0.06.2.07.0.0
Affected range stops below 6.0.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.12, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-122CWE-680

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card