CVE-2024-46981

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.
Configurations

No configuration.

History

19 Mar 2025, 21:15

Type Values Removed Values Added
References
  • () https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability -
  • () https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability -

20 Jan 2025, 17:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/01/msg00018.html -
Summary
  • (es) Redis es una base de datos en memoria de código abierto que persiste en el disco. Un usuario autenticado puede usar un script Lua especialmente manipulado para manipular el recolector de elementos no utilizados y potencialmente provocar la ejecución remota de código. El problema se solucionó en 7.4.2, 7.2.7 y 6.2.17. Un workaround adicional para mitigar el problema sin aplicar un parche al ejecutable redis-server es evitar que los usuarios ejecuten scripts Lua. Esto se puede hacer usando ACL para restringir los comandos EVAL y EVALSHA.

06 Jan 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-06 22:15

Updated : 2025-03-19 21:15


NVD link : CVE-2024-46981

Mitre link : CVE-2024-46981

CVE.ORG link : CVE-2024-46981


JSON object : View

Products Affected

No product.

CWE
CWE-416

Use After Free