Redis' Lua library commands may lead to remote code execution
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. No fixed version is recorded.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Redis | redis | <6.2.17, >=7.2.0 <7.2.7, >=7.4.0 <7.4.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Redis, strongest first
Embed
A live severity badge for an advisory, README or ticket