CVE-2024-46981
CRITICAL9.8EPSS 80.7%Redis' Lua library commands may lead to remote code execution
發布日:2025/1/6修改日:2026/5/17
描述
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.
受影響套件(10)
- Alpine/redisfrom 0, < 6.2.18-r0
- Alpine/valkeyfrom 0, < 7.2.8-r0
- Bitnami/keydbfrom 0, < 6.3.4, >= 7.2.0
- Bitnami/redisfrom 0, < 6.2.17, >= 7.2.0, < 7.2.8, >= 7.4.0, < 7.4.2
- Bitnami/valkeyfrom 0, < 8.0.2
- Debian/redictfrom 0, < 7.3.2+ds-1
- Debian/redisfrom 0, < 5:7.0.15-1~deb12u3
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u5
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u5
- Debian/valkeyfrom 0, < 8.0.2+dfsg1-1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(13)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2024-46981
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-46981
- WEBhttps://codeberg.org/redict/redict/releases/tag/7.3.2
- WEBhttps://github.com/redis/redis/releases/tag/6.2.17
- WEBhttps://github.com/redis/redis/releases/tag/7.2.7
- WEBhttps://github.com/redis/redis/releases/tag/7.4.2
- WEBhttps://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c
- WEBhttps://github.com/valkey-io/valkey/releases/tag/8.0.2
- WEBhttps://lists.debian.org/debian-lts-announce/2025/01/msg00018.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-46981
- WEBhttps://redict.io/posts/2025-01-08-redict-7.3.2-released
- WEBhttps://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability
- WEBhttps://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability