An authenticated user may exploit the synchronization mechanism of the master-replica and trigger a use-after-free vulnerability, potentially leading to remote code execution.
The bug affects only replicas that are configured, or may be configured with replica-read-only disabled , and exists in all versions of Redis with Lua scripting
An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts or avoid using replicas where replica-read-only is disabled
The issue was reported by independent researcher Yoni Sherez identified DarkReplica during the Wiz Zeroday Cloud event.