cve.bz

CVE-2022-24834 Heap-based Buffer Overflow

8.8 highEPSS 41%

High (8.8). EPSS 41% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
41% (unchanged from 41% a week ago; 41% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-08-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-680 Integer Overflow to Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24834 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24834?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24834?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24834 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redisfrom 2.6.0 before 6.0.20
redis:redisfrom 6.2.0 before 6.2.13
redis:redisfrom 7.0.0 before 7.0.12
fedoraproject:fedora37
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11redis5:6.0.16-1+deb11u3DLA-3885-1
Debian12redis5:7.0.15-1~deb12u1DEBIAN-CVE-2022-24834 DSA-5610-1
Debian13, 14redis5:7.0.12-1DEBIAN-CVE-2022-24834
Ubuntu16.04:LTS, 18.04:LTS, 24.04:LTSlua-cjsonno fix listedUBUNTU-CVE-2022-24834
Ubuntu25.10, 26.04:LTS, 26.10lua-cjson, lua-cmsgpackno fix listedUBUNTU-CVE-2022-24834
UbuntuPro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm3UBUNTU-CVE-2022-24834 USN-6531-1
UbuntuPro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm2UBUNTU-CVE-2022-24834 USN-6531-1
UbuntuPro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm4UBUNTU-CVE-2022-24834 USN-6531-1
UbuntuPro:20.04:LTSlua-cjson2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2UBUNTU-CVE-2022-24834
UbuntuPro:20.04:LTSredis5:5.0.7-2ubuntu0.1+esm2UBUNTU-CVE-2022-24834 USN-6531-1
UbuntuPro:22.04:LTSlua-cjson2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2UBUNTU-CVE-2022-24834
UbuntuPro:22.04:LTSredis5:6.0.16-1ubuntu1+esm1UBUNTU-CVE-2022-24834 USN-6531-1
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.17-1.module+el8.10.0+22680+748527fdRHSA-2025:0595
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.17-1.el9_5RHSA-2025:0693
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 moreredis6.0.14-150200.6.26.1SUSE-SU-2023:3407-1
SUSELinux Enterprise Module for Server Applications 15 SP4, Linux Enterprise Module for Server Applications 15 SP5redis6.2.6-150400.3.22.1SUSE-SU-2023:2924-1
SUSELinux Enterprise Module for Server Applications 15 SP5redis77.0.8-150500.3.3.1SUSE-SU-2023:2925-1
openSUSELeap 15.4, Leap 15.5redis6.2.6-150400.3.22.1SUSE-SU-2023:2924-1
openSUSELeap 15.5redis77.0.8-150500.3.3.1SUSE-SU-2023:2925-1
openSUSETumbleweedredis7.0.12-1.1openSUSE-SU-2024:13047-1
AlmaLinux8redis, redis-doc, redis-devel6.2.17-1.module_el8.10.0+3946+3de613d5ALSA-2025:0595
AlmaLinux9redis, redis-doc, redis-devel6.2.17-1.el9_5ALSA-2025:0693
Rocky Linux8redis0:6.2.17-1.module+el8.10.0+1923+5b85c6a7RLSA-2025:0595
Rocky Linux9redis0:6.2.17-1.el9_5RLSA-2025:0693
Alpinev3.16, v3.17, v3.18 and 6 moreredis7.0.12-r0ALPINE-CVE-2022-24834
Azure Linux2redis6.2.13-2AZL-27477
Alpaquita23redis7.0.12-r0BELL-CVE-2022-24834

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users.

Red Hat's mitigation

Prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8redis:6-8100020250113083959.489197e6Fixed 2025-01-22RHSA-2025:0595
Red Hat Enterprise Linux 9redis-0:6.2.17-1.el9_5Fixed 2025-01-27RHSA-2025:0693
Red Hat 3scale API Management Platform 23scale-amp-backend-containerAffected
Red Hat 3scale API Management Platform 23scale-amp-system-containerWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/search-api-rhel8Not affected
Red Hat Ansible Automation Platform 1.2ansible-towerNot affected
Red Hat Enterprise Linux 9redis-6-containerNot affected
Red Hat Fuse 7redisNot affected
Red Hat OpenStack Platform 16.1openstack-redis-base-containerNot affected
Red Hat OpenStack Platform 16.1openstack-redis-containerNot affected
Red Hat OpenStack Platform 16.2openstack-redis-containerNot affected
Red Hat OpenStack Platform 17.0openstack-redis-containerNot affected
Red Hat OpenStack Platform 17.1openstack-redis-containerNot affected
Red Hat OpenStack Platform 18.0openstack-redis-containerNot affected
Red Hat Satellite 6satellite:el8/rubygem-gitlab-sidekiq-fetcherNot affected
Red Hat Satellite 6tfm-rubygem-gitlab-sidekiq-fetcherNot affected
Red Hat Software Collectionsrh-redis6-redisWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24834.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-680 (11).

References

Check your stackJSON