vulnerability

Ruby on Rails: URL Redirection to Untrusted Site ('Open Redirect') (CVE-2023-22797)

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
Feb 9, 2023
Added
Feb 23, 2023
Modified
Jan 28, 2025

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.

Solution

ruby-on-rails-upgrade-7_0_4_1
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.