Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update 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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade redis-develUpgrade redisUpgrade redis-doc | May 4, 2022 | Oct 4, 2021 |
| Alpine Linux | — | Upgrade redis | Mar 26, 2024 | Oct 4, 2021 |
| Amazon Linux Ami 2 | — | Upgrade redisUpgrade redis-develUpgrade redis-debuginfoUpgrade redis-doc | Sep 28, 2023 | Oct 4, 2021 |
| Centos_linux | — | Upgrade redis-develUpgrade redisUpgrade redis-debugsourceUpgrade redis-docUpgrade redis-debuginfo | Oct 20, 2021 | Oct 19, 2021 |
| Debian | — | Upgrade redis | Nov 29, 2021 | Oct 4, 2021 |
| Freebsd | — | Upgrade redisUpgrade redis6Upgrade redis-develUpgrade redis5 | Nov 4, 2022 | Oct 5, 2021 |
| Gentoo Linux | — | Upgrade dev-db/redis. | Sep 30, 2022 | Oct 4, 2021 |
| Oracle_linux | — | Upgrade redis-develUpgrade redis-docUpgrade redis | Oct 20, 2021 | Oct 4, 2021 |
| Redhat_linux | — | Upgrade redis-docUpgrade redis-debugsourceUpgrade redisUpgrade redis-debuginfoUpgrade redis-devel | Oct 20, 2021 | Oct 19, 2021 |
| Redislabs Redis | — | Upgrade RedisLabs Redis to version 6.2.6Upgrade RedisLabs Redis to version 5.0.14Upgrade RedisLabs Redis to version 6.0.16 | Oct 17, 2025 | Oct 4, 2021 |
| Rocky_linux | — | Upgrade redis-debuginfoUpgrade redis-debugsourceUpgrade redisUpgrade redis-devel | Mar 12, 2024 | Oct 4, 2021 |
| Suse | — | Upgrade redis | Nov 24, 2021 | Oct 4, 2021 |
| Ubuntu | — | Upgrade redis-server (Ubuntu Pro)Upgrade redis-tools (Ubuntu Pro)Upgrade redis (Ubuntu Pro) | Mar 22, 2023 | Oct 4, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Oct 4, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub