Use-after-free in Redis - CVE-2024-46981
Published: January 6, 2025 / Updated: March 21, 2025
Vulnerability details
The vulnerability allows a remote user to compromise vulnerable system.
The vulnerability exists due to a use-after-free error when handling Lua script commands. A remote user can pass a specially crafted Lua script to the application and execute arbitrary code on the system..
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Valkey
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
Debian Linux
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
Fedora
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Ubuntu
Server Applications Module
openSUSE Leap
openEuler
IBM Observability with Instana
EasyApache
APEX Cloud Platform for Red Hat OpenShift
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
redis-server (Ubuntu package)
redis-tools (Ubuntu package)
redis-debugsource
redis
redis-debuginfo
redis (Red Hat package)
redis-doc
redis-devel
redis7-debuginfo
redis7
redis7-debugsource
redis (Debian package)
valkey-redis-compat (Ubuntu package)
valkey-sentinel (Ubuntu package)
valkey-server (Ubuntu package)
valkey-tools (Ubuntu package)
redict
dev-db/redict
valkey
dev-db/redis
IBM DataPower Gateway
APEX Cloud Platform for Microsoft Azure
SmartFabric OS10
Juniper Junos Space
How to mitigate CVE-2024-46981
IBM Observability with Instana - update to 1.0.307
EasyApache - addressed in versions 4 25-1, 4 25-2
Valkey - addressed in versions 7.2.8, 8.0.2
IBM DataPower Gateway - addressed in versions 10.5.0.16, 10.6.0.4, 10.6.3
redis-server (Ubuntu package) - addressed in versions Ubuntu Pro, redis-tools, 5:7.0.15-1ubuntu0.24.04.1, 5:7.0.15-1ubuntu0.24.10.1
redis-tools (Ubuntu package) - addressed in versions Ubuntu Pro, 5:7.0.15-1ubuntu0.24.04.1, 5:7.0.15-1ubuntu0.24.10.1
APEX Cloud Platform for Microsoft Azure - update to 01.04.01.00
APEX Cloud Platform for Red Hat OpenShift - update to 03.02.04.00
redis-debugsource - addressed in versions 6.0.14-150200.6.32.1, 6.2.6-150400.3.31.1, 7.2.4-150600.3.6.1
redis - addressed in versions 6.0.14-150200.6.32.1, 6.2.6-150400.3.31.1, 7.2.4-150600.3.6.1
redis-debuginfo - addressed in versions 6.0.14-150200.6.32.1, 6.2.6-150400.3.31.1, 7.2.4-150600.3.6.1
redis (Red Hat package) - addressed in versions 6.2.6-1.el9_0.1, 6.2.7-1.el9_2.1, 6.2.7-1.el9_4.1, 6.2.17-1.el9_5
redis-doc - update to 6.2.17-1.0.1
redis-devel - update to 6.2.17-1.0.1
redis - update to 6.2.17-1.0.1
redis7-debuginfo - addressed in versions 7.0.8-150500.3.15.1, 7.0.8-150600.8.6.1
redis7 - addressed in versions 7.0.8-150500.3.15.1, 7.0.8-150600.8.6.1
redis7-debugsource - addressed in versions 7.0.8-150500.3.15.1, 7.0.8-150600.8.6.1
redis (Debian package) - update to 5:7.0.15-1~deb12u3
redis - update to 7.2.7-1
redis-debuginfo - update to 7.2.7-1
redis-debugsource - update to 7.2.7-1
redis - update to 7.2.7-1.fc40
valkey-redis-compat (Ubuntu package) - addressed in versions 7.2.8+dfsg1-0ubuntu0.24.04.2, 7.2.8+dfsg1-0ubuntu0.24.10.2
valkey-sentinel (Ubuntu package) - addressed in versions 7.2.8+dfsg1-0ubuntu0.24.04.2, 7.2.8+dfsg1-0ubuntu0.24.10.2
valkey-server (Ubuntu package) - addressed in versions 7.2.8+dfsg1-0ubuntu0.24.04.2, 7.2.8+dfsg1-0ubuntu0.24.10.2
valkey-tools (Ubuntu package) - addressed in versions 7.2.8+dfsg1-0ubuntu0.24.04.2, 7.2.8+dfsg1-0ubuntu0.24.10.2
redict - addressed in versions 7.3.2-1.el8, 7.3.2-1.el9, 7.3.2-1.fc40, 7.3.2-1.fc41
dev-db/redict - update to 7.3.5
valkey - addressed in versions 8.0.2-1.el8, 8.0.2-1.el9, 8.0.2-1.fc40, 8.0.2-1.fc41
dev-db/redis - update to 8.0.3
SmartFabric OS10 - addressed in versions 10.5.4.15, 10.5.5.14, 10.5.6.9
Juniper Junos Space - update to 24.1R5
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in Redis
- Fedora 40 update for redis
- Fedora 40 update for valkey
- Fedora EPEL 9 update for valkey
- Fedora EPEL 8 update for valkey
- Fedora 41 update for valkey
- Fedora EPEL 8 update for redict
- Fedora 40 update for redict
- Fedora EPEL 9 update for redict
- Fedora 41 update for redict
- cPanel EasyApache update for Redis
- SUSE update for redis
- Multiple vulnerabilities in Valkey
- EasyApache update for Valkey
- SUSE update for redis
- SUSE update for redis
- SUSE update for redis7
- SUSE update for redis7
- Red Hat Enterprise Linux 9 update for redis
- Red Hat Enterprise Linux 9 update for redis
- Red Hat Enterprise Linux 9 update for redis
- Red Hat Enterprise Linux 8 update for the redis:6 module
- Red Hat Enterprise Linux 8 update for the redis:6 module
- Red Hat Enterprise Linux 8 update for the redis:6 module
- Red Hat Enterprise Linux 8 update for the redis:6 module
- Red Hat Enterprise Linux 9 update for the redis:7 module
- Red Hat Enterprise Linux 9 update for redis
- Red Hat Enterprise Linux 9 update for the redis:7 module
- Debian update for redis
- openEuler update for redis
- Ubuntu update for redis
- Ubuntu update for valkey
- Anolis OS update for redis:6 module
- IBM DataPower Gateway update for Redis
- Dell APEX Cloud Platform for Red Hat OpenShift update for third-party components
- Dell APEX Cloud Platform for Microsoft Azure update for third-party components
- Multiple vulnerabilities in Dell SmartFabric OS10
- Dell SmartFabric OS10 update for third-party components
- Dell Networking OS10 update for third-party components
- Gentoo update for redict, redis
- Multiple vulnerabilities in Junos Space
- Multiple vulnerabilities in IBM Observability with Instana