An authenticated attacker can exploit the master-replica synchronization mechanism in redis-server to trigger a use-after-free condition on replicas where the `replica-read-only` setting is disabled or can be disabled. This issue, which involves the Lua script interpreter, may lead to remote code execution.