ALPINE-CVE-2024-31449
Record from OSV · Published October 7, 2024
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 all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| valkey | Alpine:v3.21 | 7.2.7-r0 |
| redis | Alpine:v3.18 | 7.0.15-r1 |
| valkey | Alpine:v3.23 | 7.2.7-r0 |
| redis | Alpine:v3.17 | 7.0.15-r1 |
| redis | Alpine:v3.15 | 6.2.18-r0 |
| valkey | Alpine:v3.20 | 7.2.7-r0 |
| redis | Alpine:v3.19 | 7.2.4-r1 |
| valkey | Alpine:v3.22 | 7.2.7-r0 |
| valkey | Alpine:v3.24 | 7.2.7-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.21 | valkey | 7.2.5-r2, 0, 7.2.5-r1 |
| Alpine:v3.18 | redis | 7.0.6-r0, 7.0.5-r0, 7.0.4-r2 |
| Alpine:v3.23 | valkey | 7.2.5-r0, 7.2.5-r2, 7.2.5-r1 |
| Alpine:v3.17 | redis | 0, 2.6.17-r0, 2.8.10-r0 |
| Alpine:v3.15 | redis | 2.8.12-r0, 2.8.17-r0, 2.8.14-r0 |
| Alpine:v3.20 | valkey | 7.2.5-r0, 7.2.5-r2, 7.2.5-r1 |
| Alpine:v3.19 | redis | 2.6.16-r0, 2.8.10-r0, 6.0.4-r0 |
| Alpine:v3.22 | valkey | 0, 7.2.5-r0, 7.2.5-r1 |
| Alpine:v3.24 | valkey | 0 |
Timeline
- Oct 7, 2024 CVE Published
- Jul 8, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2024-31449
vulnetix vdb fixes ALPINE-CVE-2024-31449
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2024-31449/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart