VDB
ALPINE-CVE-2024-46981
ALPINE-CVE-2024-46981
PUBLISHED
CVSS 9.800000190734863 CRITICAL
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. An additional 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.
Risk Scores
CVSS v3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.21 | valkey | 0, 7.2.7-r0, 7.2.5-r2 |
| Alpine:v3.23 | valkey | 7.2.5-r0, 7.2.5-r1, 7.2.5-r2 |
| Alpine:v3.18 | redis | 6.2.0-r0, 6.0.9-r0, 6.0.5-r0 |
| Alpine:v3.22 | valkey | 7.2.7-r0, 7.2.5-r2, 7.2.5-r1 |
| Alpine:v3.20 | valkey | 0, 7.2.5-r0, 7.2.5-r1 |
| Alpine:v3.19 | redis | 4.0.12-r0, 2.4.14-r2, 2.4.16-r0 |
| Alpine:v3.15 | redis | 5.0.9-r0, 6.2.9-r0, 6.2.7-r0 |
Timeline
- Jan 6, 2025 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch