Incorrect access control in the install directory (C:\Ruby31-x64) of Rubyinstaller2 v3.1.2 and below allows authenticated attackers to execute arbitrary code via overwriting binaries located in the directory.
https://github.com/ycdxsb/Vuln/blob/main/RubyInstaller2-Vuln