Code Injection in Ruby on Rails - CVE-2022-21831
Published: March 9, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in the Active Storage module. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
rails (Debian package)
How to mitigate CVE-2022-21831
rails (Debian package) - update to 2:5.2.2.1+dfsg-1+deb10u4