Stack-based buffer overflow in Redis - CVE-2024-31449
Published: October 2, 2024 / Updated: October 7, 2024
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing untrusted input. A remote user with ability to influence data input can pass a specially crafted Lua script to the database, trigger a stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Valkey
Gentoo Linux
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 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
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for x86_64
Fedora
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
openSUSE Leap
Ubuntu
openEuler
APEX Cloud Platform for Microsoft Azure
SmartFabric OS10
IBM Observability with Instana
EasyApache
lua-bitop (Ubuntu package)
redis-debugsource
redis-debuginfo
redis
redis (Red Hat package)
redis-devel
redis-doc
redis7
redis7-debugsource
redis7-debuginfo
redict
dev-db/redict
valkey
dev-db/redis
Juniper Junos Space
How to mitigate CVE-2024-31449
APEX Cloud Platform for Microsoft Azure - update to 01.04.00.00
IBM Observability with Instana - update to 1.0.307
EasyApache - update to 4 2024-10-9
Valkey - addressed in versions 7.2.7, 8.0.1
lua-bitop (Ubuntu package) - addressed in versions 1.0.2-5ubuntu0.20.04.1~esm2, 1.0.2-5ubuntu0.22.04.1~esm2, 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2, 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2, 2:3.0.6-1ubuntu0.4+esm5, 5:4.0.9-1ubuntu0.2+esm7, 5.1.5-8.1ubuntu0.20.04.1~esm1, 5.1.5-8.1ubuntu0.22.04.1~esm1, 5:7.0.15-1ubuntu0.24.04.4
redis-debugsource - addressed in versions 4.0.11-20, 4.0.14-7
redis-debuginfo - addressed in versions 4.0.11-20, 4.0.14-7
redis - addressed in versions 4.0.11-20, 4.0.14-7
redis-debuginfo - addressed in versions 6.0.14-150200.6.32.1, 6.2.6-150400.3.28.1, 7.2.4-150600.3.3.1
redis - addressed in versions 6.0.14-150200.6.32.1, 6.2.6-150400.3.28.1, 7.2.4-150600.3.3.1
redis-debugsource - addressed in versions 6.0.14-150200.6.32.1, 6.2.6-150400.3.28.1, 7.2.4-150600.3.3.1
redis (Red Hat package) - update to 6.2.17-1.el9_5
redis - addressed in versions 6.2.17-1.0.1, 7.2.6-1
redis-devel - addressed in versions 6.2.17-1.0.1, 7.2.6-1
redis-doc - addressed in versions 6.2.17-1.0.1, 7.2.6-1
redis7 - addressed in versions 7.0.8-150500.3.12.1, 7.0.8-150600.8.3.1
redis7-debugsource - addressed in versions 7.0.8-150500.3.12.1, 7.0.8-150600.8.3.1
redis7-debuginfo - addressed in versions 7.0.8-150500.3.12.1, 7.0.8-150600.8.3.1
redis - addressed in versions 7.2.6-1.fc39, 7.2.6-1.fc40
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.1-1.el9, 8.0.1-1.fc39, 8.0.1-1.fc40, 8.0.1-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
External References
Related Security Bulletins
- Multiple vulnerabilities in Redis
- Fedora 39 update for redis
- Fedora 40 update for redis
- SUSE update for redis
- Fedora EPEL 9 update for valkey
- Fedora 39 update for valkey
- Fedora 41 update for valkey
- Fedora 40 update for valkey
- SUSE update for redis7
- SUSE update for redis7
- SUSE update for redis
- openEuler 20.03 LTS SP4 update for redis
- cPanel EasyApache update for Redis
- openEuler 22.03 LTS SP3 update for redis
- openEuler 22.03 LTS SP4 update for redis
- openEuler 24.03 LTS update for redis
- openEuler 22.03 LTS SP1 update for redis
- Red Hat Enterprise Linux 9 update for the redis:7 module
- Fedora EPEL 8 update for redict
- Fedora 40 update for redict
- Fedora EPEL 9 update for redict
- Fedora 41 update for redict
- SUSE update for redis
- Red Hat Enterprise Linux 8 update for the redis:6 module
- Red Hat Enterprise Linux 9 update for redis
- Anolis OS update for redis
- Anolis OS update for redis:6 module
- 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
- Ubuntu update for lua-bitop
- Valkey update for Redis