CVE-2023-22797

Medium

Description

An open redirect vulnerability is fixed in Rails 7.0.4.1 with the new protection against open redirects from calling redirect_to with untrusted user input. In prior versions the developer was fully responsible for only providing trusted input. However the check introduced could allow an attacker to bypass with a carefully crafted URL resulting in an open redirect vulnerability.

SeverityMedium
CVSS6.1
Exploit probability—
ProductRails
PublishedFeb 9, 2023
First seenFeb 9, 2023

How to fix

Update
  • rubyonrails rails7.0.4.1 or later
  • actionpack_project actionpack7.0.4.1 or later

Affected products

ProductAffected versionsFixed in
rubyonrails rails7.0.0 ≤ v < 7.0.4.17.0.4.1
actionpack_project actionpack7.0.0 ≤ v < 7.0.4.17.0.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.