cve.bz

CVE-2022-24736 NULL Pointer Dereference

5.5 mediumExploit referenceEPSS 1.5%Fix available

Medium (5.5). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th 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: partial, assessed 2025-04-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.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-24736 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24736?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24736?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-24736 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:redisbefore 6.2.7
redis:redis7.0:rc1
redis:redis7.0:rc2
redis:redis7.0:rc3
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36
oracle:communications_operations_monitor4.3
oracle:communications_operations_monitor4.4
oracle:communications_operations_monitor5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14redis5:7.0.1-4DEBIAN-CVE-2022-24736
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreredisno fix listedUBUNTU-CVE-2022-24736
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.7-1.module+el8.7.0+15197+cc495aebRHSA-2022:7541
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.7-1.el9RHSA-2022:8096
SUSELinux Enterprise Module for Server Applications 15 SP3redis6.0.14-150200.6.11.1SUSE-SU-2022:1842-1
SUSELinux Enterprise Module for Server Applications 15 SP4redis6.2.6-150400.3.3.7SUSE-SU-2022:1929-1
openSUSELeap 15.3redis6.0.14-150200.6.11.1SUSE-SU-2022:1842-1
openSUSELeap 15.4redis6.2.6-150400.3.3.7SUSE-SU-2022:1929-1
openSUSETumbleweedredis6.2.7-1.1openSUSE-SU-2024:12030-1
AlmaLinux8redis, redis-doc, redis-devel6.2.7-1.module_el8.7.0+3288+a82c1b48ALSA-2022:7541
AlmaLinux9redis, redis-doc, redis-devel6.2.7-1.el9ALSA-2022:8096
Rocky Linux8redis0:6.2.7-1.module+el8.7.0+1105+8815ce78RLSA-2022:7541
Rocky Linux9redis0:6.2.7-1.el9RLSA-2022:8096
Alpinev3.14, v3.15, v3.16 and 8 moreredis6.2.7-r0ALPINE-CVE-2022-24736
Azure Linux2compat-luano fix listedAZL-71176
Azure Linux2redis6.2.7-1AZL-9599
Azure Linux3compat-luano fix listedAZL-45357

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

If Lua scripting is not being used, this vulnerability can be mitigated by preventing access to SCRIPT LOAD and EVAL commands using ACL rules.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8redis:6-8070020220509142426.3b9f49c4Fixed 2022-11-08RHSA-2022:7541
Red Hat Enterprise Linux 9redis-0:6.2.7-1.el9Fixed 2022-11-15RHSA-2022:8096
Red Hat 3scale API Management Platform 2redisAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/redisgraph-tls-rhel8Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/search-api-rhel8Fix deferred
Red Hat Ansible Automation Platform 1.2redisAffected
Red Hat Ansible Tower 3redisAffected
Red Hat Enterprise Linux 8redis:5/redisFix deferred
Red Hat Fuse 7io.hawt-hawtio-integrationFix deferred
Red Hat OpenStack Platform 13 (Queens)redisOut of support scope
Red Hat Software Collectionsrh-redis5-redisFix deferred
Red Hat Software Collectionsrh-redis6-redisFix deferred

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-24736.

References

Check your stackJSON