CVE-2024-46981

high

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.

References

https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c

https://github.com/redis/redis/releases/tag/7.4.2

https://github.com/redis/redis/releases/tag/7.2.7

https://github.com/redis/redis/releases/tag/6.2.17

Details

Source: Mitre, NVD

Published: 2025-01-06

Updated: 2025-01-06

Risk Information

CVSS v2

Base Score: 6

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High