Affected versions
Ubuntu24.04:LTS/redis
- Affected versions
- Unknown
- Fixed version
- 5:7.0.15-1ubuntu0.24.04.1
Ubuntu24.04:LTS/valkey
- Affected versions
- Unknown
- Fixed version
- 7.2.8+dfsg1-0ubuntu0.24.04.2
Ubuntu25.10/redict
- Affected versions
- * || =7.3.2+ds-1 || =7.3.5+ds-1 || =7.3.5+ds-1ubuntu0.1 || =7.3.5+ds-1ubuntu0.2
- Fixed version
- Not reported
Ubuntu26.04:LTS/redict
- Affected versions
- * || =7.3.5+ds-1 || =7.3.5+ds-1ubuntu0.1 || =7.3.6+ds-1
- Fixed version
- Not reported
Ubuntu26.10/redict
- Affected versions
- * || =7.3.6+ds-1 || =7.3.6+ds-2 || =7.3.6+ds-2build1
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/redis
- Affected versions
- Unknown
- Fixed version
- 2:2.8.4-2ubuntu0.2+esm4
UbuntuPro:16.04:LTS/redis
- Affected versions
- Unknown
- Fixed version
- 2:3.0.6-1ubuntu0.4+esm3
UbuntuPro:18.04:LTS/redis
- Affected versions
- Unknown
- Fixed version
- 5:4.0.9-1ubuntu0.2+esm5
UbuntuPro:20.04:LTS/redis
- Affected versions
- Unknown
- Fixed version
- 5:5.0.7-2ubuntu0.1+esm3
UbuntuPro:22.04:LTS/redis
- Affected versions
- Unknown
- Fixed version
- 5:6.0.16-1ubuntu1+esm2
Description
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.
Links
- https://codeberg.org/redict/redict/issues/60
- https://github.com/redis/redis/commit/e344b2b5879aa52870e6838212dfb78b7968fcbf
- https://github.com/redis/redis/releases/tag/6.2.17
- https://github.com/redis/redis/releases/tag/7.2.7
- https://github.com/redis/redis/releases/tag/7.4.2
- https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c
- https://github.com/valkey-io/valkey/commit/4ffd3ebdeb028d0b9e50cf5986e9f1b6a2e1c031
- https://ubuntu.com/security/CVE-2024-46981
- https://ubuntu.com/security/notices/USN-7321-1
- https://ubuntu.com/security/notices/USN-7359-1
- https://www.cve.org/CVERecord?id=CVE-2024-46981

