CVE-2024-31449
Publication date 7 October 2024
Last updated 14 April 2026
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Read the notes from the security team
Why is this CVE high priority?
Potential RCE
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| redis | 25.10 questing |
Not affected
|
| 24.04 LTS noble |
Fixed 5:7.0.15-1ubuntu0.24.04.4
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Fixed 5:4.0.9-1ubuntu0.2+esm7
|
|
| 16.04 LTS xenial |
Fixed 2:3.0.6-1ubuntu0.4+esm5
|
|
| 14.04 LTS trusty |
Not affected
|
|
| lua-bitop | 25.10 questing |
Vulnerable
|
| 24.04 LTS noble |
Vulnerable
|
|
| 22.04 LTS jammy |
Fixed 1.0.2-5ubuntu0.22.04.1~esm2
|
|
| 20.04 LTS focal |
Fixed 1.0.2-5ubuntu0.20.04.1~esm2
|
|
| 18.04 LTS bionic |
Vulnerable
|
|
| 16.04 LTS xenial |
Vulnerable
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
vyomydv
redis in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS is dynamically linked against lua-bitop. The lua-bitop package has been patched in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS as that is dynamically linked to redis.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-8169-1
- Redis, Lua vulnerabilities
- 13 April 2026