Open redirect in Ruby on Rails - CVE-2021-22881
Published: February 11, 2021
Vulnerability details
The vulnerability allows a remote attacker to redirect victims to arbitrary URL.
The vulnerability exists due to improper sanitization of user-supplied data, when the allowed host starts with a dot. A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.
Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.
Affected software
Fedora
rubygem-actionpack
rubygem-activerecord
How to mitigate CVE-2021-22881
rubygem-actionpack - update to 6.0.3.4-2.fc33
rubygem-activerecord - update to 6.0.3.4-2.fc33