8.8

CVE-2022-24834: Heap overflow issue with the Lua cjson library used by Redis

Modified
AliasesALPINE-CVE-2022-24834MGASA-2023-0246SUSE-SU-2023:2924-1
Published 13-07-2023Last modified 13-02-2025

Vulnerability summary

CVE-2022-24834 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in fedoraproject fedora. EPSS estimates a 52.47% chance of exploitation in the next 30 days, higher than 98.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
52.47%
0%100%
Critical · +11.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 13-07-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

52.47%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

Increase +11.06 pp

From 41.41% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • lua-cjsonAll versions (No fix recorded) | < 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2 | < 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2
  • lua-cmsgpackAll versions (No fix recorded)
  • redis< 2:2.8.4-2ubuntu0.2+esm3 | < 2:3.0.6-1ubuntu0.4+esm2 | < 5:4.0.9-1ubuntu0.2+esm4 | < 5:5.0.7-2ubuntu0.1+esm2 | < 5:6.0.16-1ubuntu1+esm1
Opensuse2 products
  • redis&distro=openSUSE Leap 15.4< 6.2.6-150400.3.22.1
  • redis&distro=openSUSE Leap 15.5< 6.2.6-150400.3.22.1
Suse2 products
  • redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4< 6.2.6-150400.3.22.1
  • redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5< 6.2.6-150400.3.22.1
Alpine1 product
  • redis≥ 2.6.0, < 7.0.12-r0 | ≥ 7.0.0, < 7.0.12-r0
Debian1 product
  • redis< 5:7.0.15-1~deb12u1 | < 5:7.0.12-1
Fedoraproject1 product
Mageia1 product
  • redis< 6.0.20-1.mga8
Redis1 product
  • redis≥ 6.0.0, < 6.0.20 | ≥ 2.6.0, < 6.0.20 | ≥ 6.2.0, < 6.2.13 | ≥ 7.0.0, < 7.0.12

8 vendors · 12 products

References

22 links
Show all 22 references