Input validation error in Redis - CVE-2024-31228

 

Input validation error in Redis - CVE-2024-31228

Published: October 2, 2024 / Updated: October 7, 2024


Vulnerability identifier: #VU97972
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-31228
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to due to unbounded pattern matching. A remote user can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

Redis
Valkey
Gentoo Linux
SUSE Linux Enterprise Server 15 SP3
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
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 for ARM 64
Fedora
Anolis OS
Ubuntu
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
openSUSE Leap
openEuler
APEX Cloud Platform for Microsoft Azure
SmartFabric OS10
EasyApache
redis-server (Ubuntu package)
redis-tools (Ubuntu package)
redis
redis-debuginfo
redis-debugsource
redis (Red Hat package)
redis-doc
redis-devel
redis7
redis7-debugsource
redis7-debuginfo
redict
dev-db/redict
valkey
dev-db/redis
Juniper Junos Space

How to mitigate CVE-2024-31228

Install updates from vendor's website.

Redis - addressed in versions 6.2.16, 7.2.6, 7.4.1
APEX Cloud Platform for Microsoft Azure - update to 01.04.00.00
EasyApache - update to 4 2024-10-9
Valkey - addressed in versions 7.2.7, 8.0.1
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
redis - 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-debugsource - 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-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 - 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