CVE-2022-24834

Heap overflow issue with the Lua cjson library used by Redis

Published Jul 13, 2023 CVSS 3.1 · 7 High EPSS 41.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3885-1 redis security update
Debian DSA Debian DSA DSA-5610-1 redis security update
Ubuntu USN Ubuntu USN USN-6531-1 Redis vulnerabilities
Ubuntu USN Ubuntu USN USN-8169-1 Redis, Lua vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 4:32 PM
Reserved
Feb 10, 2022, 4:41 PM
Status
Modified
Published
Jul 13, 2023, 3:15 PM
Modified
Jun 17, 2026, 4:32 AM
Severity
Moderate
Public date
Jul 10, 2023, 12:00 AM