CVE-2024-46981

Publication date 6 January 2025

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

7.0 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
redict 25.04 plucky
Needs evaluation
24.10 oracular
Needs evaluation
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
redis 25.04 plucky
Needs evaluation
24.10 oracular
Fixed 5:7.0.15-1ubuntu0.24.10.1
24.04 LTS noble
Fixed 5:7.0.15-1ubuntu0.24.04.1
22.04 LTS jammy
Fixed 5:6.0.16-1ubuntu1+esm2
20.04 LTS focal
Fixed 5:5.0.7-2ubuntu0.1+esm3
18.04 LTS bionic
Fixed 5:4.0.9-1ubuntu0.2+esm5
16.04 LTS xenial
Fixed 2:3.0.6-1ubuntu0.4+esm3
14.04 LTS trusty
Fixed 2:2.8.4-2ubuntu0.2+esm4
valkey 25.04 plucky
Needs evaluation
24.10 oracular
Fixed 7.2.8+dfsg1-0ubuntu0.24.10.2
24.04 LTS noble
Fixed 7.2.8+dfsg1-0ubuntu0.24.04.2
22.04 LTS jammy Not in release
20.04 LTS focal Not in release

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

Severity score breakdown

Parameter Value
Base score 7.0 · High
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