Summary
Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.
Security Fix(es):
* redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)
* redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
* redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
* redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)
* redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | redis | 6.2.17-1.el9_5 |
| AlmaLinux · 9 | redis-devel | 6.2.17-1.el9_5 |
| AlmaLinux · 9 | redis-doc | 6.2.17-1.el9_5 |
Vulnerabilities 5
-
High 7.0
Heap overflow issue with the Lua cjson library used by Redis
Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions…
-
High 7.0CVE-2024-31449 Public exploit
Lua library commands may lead to stack overflow and RCE in Redis
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in a…
-
High 7.0CVE-2024-46981 Public exploit
Redis' Lua library commands may lead to remote code execution
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17…
-
Medium 5.5
Denial-of-service due to unbounded pattern matching in Redis
Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND…
-
Low 3.6
Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.
Redis is an in-memory database that persists on disk. On startup, Redis begins listening on a Unix socket before adjusting its permissions to the user-provided configuration. If a permissive umask(2) is used, this creates a race condition that enables, during…
References
-
report
https://access.redhat.com/security/cve/CVE-2022-24834
-
report
https://access.redhat.com/security/cve/CVE-2023-45145
-
report
https://access.redhat.com/security/cve/CVE-2024-31228
-
report
https://access.redhat.com/security/cve/CVE-2024-31449
-
report
https://access.redhat.com/security/cve/CVE-2024-46981
-
report
https://bugzilla.redhat.com/2221662
-
report
https://bugzilla.redhat.com/2244940
-
report
https://bugzilla.redhat.com/2317056
-
report
https://bugzilla.redhat.com/2317058
-
report
https://bugzilla.redhat.com/2336004
-
advisory
https://errata.almalinux.org/9/ALSA-2025-0693.html