REDHAT-BUG-2401324: Use After Free
Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue 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
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2401324?
REDHAT-BUG-2401324 has a high severity due to the potential for remote code execution.
How do I fix REDHAT-BUG-2401324?
To fix REDHAT-BUG-2401324, upgrade your Redis installation to version 8.2.2 or higher.
What versions are affected by REDHAT-BUG-2401324?
All versions of Redis up to and including 8.2.1 are affected by REDHAT-BUG-2401324.
Can unprivileged users exploit REDHAT-BUG-2401324?
Yes, authenticated users can exploit REDHAT-BUG-2401324 using a specially crafted Lua script.
What type of vulnerability is REDHAT-BUG-2401324?
REDHAT-BUG-2401324 is a use-after-free vulnerability that can potentially lead to remote code execution.