Original 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.
Affected software
- Redis ≥ 7.2.0 < 7.2.7≥ 6.2.0 < 6.2.17≥ 7.4.0 < 7.4.2 Fixed in: 7.2.7, 6.2.17, 7.4.2 exact match
Details
- Published
- 2025-01-07
- Last modified
- 2025-03-20
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-416
- EPSS (30-day exploit probability)
- 8.18% (percentile 95)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.