CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 8.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2024-46981 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-46981?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-46981?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-2024-46981 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redis:redis | from 6.2.0 before 6.2.17 |
| redis:redis | from 7.2.0 before 7.2.7 |
| redis:redis | from 7.4.0 before 7.4.2 |
| debian:debian_linux | 11.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | redis | 5:6.0.16-1+deb11u5 | DLA-4025-1 |
| Debian | 12 | redis | 5:7.0.15-1~deb12u3 | DEBIAN-CVE-2024-46981 DSA-5856-1 |
| Debian | 13, 14 | redis | 5:7.0.15-3 | DEBIAN-CVE-2024-46981 |
| Debian | 13, 14 | valkey | 8.0.2+dfsg1-1 | DEBIAN-CVE-2024-46981 |
| Debian | 14 | redict | 7.3.2+ds-1 | DEBIAN-CVE-2024-46981 |
| Ubuntu | 24.04:LTS | redis | 5:7.0.15-1ubuntu0.24.04.1 | UBUNTU-CVE-2024-46981 USN-7321-1 |
| Ubuntu | 24.04:LTS | valkey | 7.2.8+dfsg1-0ubuntu0.24.04.2 | UBUNTU-CVE-2024-46981 USN-7359-1 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 | redict | no fix listed | UBUNTU-CVE-2024-46981 |
| Ubuntu | Pro:14.04:LTS | redis | 2:2.8.4-2ubuntu0.2+esm4 | UBUNTU-CVE-2024-46981 USN-7321-1 |
| Ubuntu | Pro:16.04:LTS | redis | 2:3.0.6-1ubuntu0.4+esm3 | UBUNTU-CVE-2024-46981 USN-7321-1 |
| Ubuntu | Pro:18.04:LTS | redis | 5:4.0.9-1ubuntu0.2+esm5 | UBUNTU-CVE-2024-46981 USN-7321-1 |
| Ubuntu | Pro:20.04:LTS | redis | 5:5.0.7-2ubuntu0.1+esm3 | UBUNTU-CVE-2024-46981 USN-7321-1 |
| Ubuntu | Pro:22.04:LTS | redis | 5:6.0.16-1ubuntu1+esm2 | UBUNTU-CVE-2024-46981 USN-7321-1 |
| Red Hat | enterprise_linux:8::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat | enterprise_linux:9::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat | enterprise_linux:9::appstream | redis, redis-doc, redis-devel and 2 more | 0:7.2.7-1.module+el9.5.0+22705+3d861c1c | RHSA-2025:0692 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.0.9-5.module+el8.4.0+22739+cf3cc450.1 | RHSA-2025:0685 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.0.9-5.module+el8.6.0+22735+5bedcf81.1 | RHSA-2025:0689 |
| Red Hat | rhel_e4s:9.0::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.2.6-1.el9_0.1 | RHSA-2025:0400 |
| Red Hat | rhel_eus:8.8::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.2.7-1.module+el8.8.0+22725+e1c935f8.1 | RHSA-2025:0640 |
| Red Hat | rhel_eus:9.2::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.2.7-1.el9_2.1 | RHSA-2025:0398 |
| Red Hat | rhel_eus:9.4::appstream | redis, redis-doc, redis-devel and 2 more | 0:6.2.7-1.el9_4.1 | RHSA-2025:0399 |
| Red Hat | rhel_eus:9.4::appstream | redis, redis-doc, redis-devel and 2 more | 0:7.0.12-1.module+el9.4.0+22724+5f7cf862.2 | RHSA-2025:0566 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | redis | 6.0.14-150200.6.32.1 | SUSE-SU-2025:0081-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 more | redis | 6.2.6-150400.3.31.1 | SUSE-SU-2025:0162-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 more | redis7 | 7.0.8-150500.3.15.1 | SUSE-SU-2025:0160-1 |
| SUSE | Linux Enterprise Module for Server Applications 15 SP6 | redis | 7.2.4-150600.3.6.1 | SUSE-SU-2025:0163-1 |
| SUSE | Linux Enterprise Module for Server Applications 15 SP6 | redis7 | 7.0.8-150600.8.6.1 | SUSE-SU-2025:0161-1 |
| openSUSE | Leap 15.6 | redis | 7.2.4-150600.3.6.1 | SUSE-SU-2025:0163-1 |
| openSUSE | Leap 15.6 | redis7 | 7.0.8-150600.8.6.1 | SUSE-SU-2025:0161-1 |
| openSUSE | Tumbleweed | redis | 8.0.2-1.1 | openSUSE-SU-2025:15293-1 |
| openSUSE | Tumbleweed | valkey | 8.0.2-1.1 | openSUSE-SU-2025:14638-1 |
| AlmaLinux | 8 | redis, redis-doc, redis-devel | 6.2.17-1.module_el8.10.0+3946+3de613d5 | ALSA-2025:0595 |
| AlmaLinux | 9 | redis, redis-doc, redis-devel | 6.2.17-1.el9_5 | ALSA-2025:0693 |
| AlmaLinux | 9 | redis, redis-doc, redis-devel | 7.2.7-1.module_el9.5.0+134+2e645600 | ALSA-2025:0692 |
| Rocky Linux | 8 | redis | 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 | RLSA-2025:0595 |
| Rocky Linux | 9 | redis | 0:6.2.17-1.el9_5 | RLSA-2025:0693 |
| Alpine | v3.15 | redis | 6.2.18-r0 | ALPINE-CVE-2024-46981 |
| Alpine | v3.18 | redis | 7.0.15-r2 | ALPINE-CVE-2024-46981 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | redis | 7.2.7-r0 | ALPINE-CVE-2024-46981 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | redict | 7.3.2-r0 | ALPINE-CVE-2024-46981 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | valkey | 7.2.8-r0 | ALPINE-CVE-2024-46981 |
| Azure Linux | 2 | redis | 6.2.17-1 | AZL-54969 |
| Azure Linux | 3 | valkey | 8.0.2-1 | AZL-55286 |
| Alpaquita | 23 | redis | 7.0.15-r2 | BELL-CVE-2024-46981 |
| Alpaquita | stream | redis | 7.2.7-r0 | BELL-CVE-2024-46981 |
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 rates this Important.
The problem exists in all versions of Redis with Lua scripting.
This vulnerability in Redis is classified as high severity rather than moderate due to its potential impact and exploitation scope. By manipulating the Lua garbage collector through crafted scripts, an authenticated attacker can achieve remote code execution (RCE), allowing them to execute arbitrary commands on the host system. This compromises not only the integrity and confidentiality of the data stored in Redis but also the underlying server itself. Furthermore, the exploitation does not require direct access to the server binary, making it feasible for attackers to execute through legitimate, albeit malicious, commands.
A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.
| Product | Package | State | Advisory |
|---|---|---|---|
| Discovery 1 for RHEL 9 | discovery/discovery-server-rhel9:1.12.0-1 | Fixed 2025-02-10 | RHSA-2025:1249 |
| Discovery 1 for RHEL 9 | discovery/discovery-ui-rhel9:1.12.0-1 | Fixed 2025-02-10 | RHSA-2025:1249 |
| Red Hat Enterprise Linux 8 | redis:6-8100020250113083959.489197e6 | Fixed 2025-01-22 | RHSA-2025:0595 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | redis:6-8040020250123095605.522a0ee4 | Fixed 2025-01-27 | RHSA-2025:0685 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | redis:6-8040020250123095605.522a0ee4 | Fixed 2025-01-27 | RHSA-2025:0685 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | redis:6-8040020250123095605.522a0ee4 | Fixed 2025-01-27 | RHSA-2025:0685 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | redis:6-8060020250122114132.ad008a3a | Fixed 2025-01-27 | RHSA-2025:0689 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | redis:6-8060020250122114132.ad008a3a | Fixed 2025-01-27 | RHSA-2025:0689 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | redis:6-8060020250122114132.ad008a3a | Fixed 2025-01-27 | RHSA-2025:0689 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | redis:6-8080020250120175236.63b34585 | Fixed 2025-01-23 | RHSA-2025:0640 |
| Red Hat Enterprise Linux 9 | redis:7-9050020250115104757.9 | Fixed 2025-01-27 | RHSA-2025:0692 |
| Red Hat Enterprise Linux 9 | redis-0:6.2.17-1.el9_5 | Fixed 2025-01-27 | RHSA-2025:0693 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | redis-0:6.2.6-1.el9_0.1 | Fixed 2025-01-20 | RHSA-2025:0400 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | redis-0:6.2.7-1.el9_2.1 | Fixed 2025-01-20 | RHSA-2025:0398 |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-service-api-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Not affected | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/bootc-amd-rhel9 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/bootc-azure-amd-rhel9 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/instructlab-amd-rhel9 | Will not fix | |
| Red Hat Fuse 7 | io.hawt-hawtio-integration | Not affected | |
| 22 more in the JSON and on Red Hat's page. | |||
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-2024-46981.