Buffer overflow in Redis

CVE-2022-24834

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.

Vulnerability class: Buffer Overflow

EPSS: 0.414 (98.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-24834?
CVE-2022-24834 is a high-severity vulnerability in Redis, classified under Heap-based Buffer Overflow. CVSS score: 7.0/10. Published 2023-07-13.
How severe is CVE-2022-24834?
High severity. CVSS v3 base score is 7.0 out of 10.
Is CVE-2022-24834 known to be exploited?
13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.