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.

SeverityHigh
CVSS7.0
Exploit probability95. percentile8.2%
ProductRedis
PublishedJan 6, 2025
First seenJan 6, 2025

How to fix

Update
  • redis redis6.2.17, 7.2.7, 7.4.2 or later

Affected products

ProductAffected versionsFixed in
redis redis6.2.0 ≤ v < 6.2.17, 7.2.0 ≤ v < 7.2.7, 7.4.0 ≤ v < 7.4.26.2.17, 7.2.7, 7.4.2
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.