CVE-2023-22797

Severity CVSS v4.0:
Pending analysis
Type:
CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
Publication date:
09/02/2023
Last modified:
24/03/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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:actionpack_project:actionpack:*:*:*:*:*:ruby:*:* 7.0.0 (including) 7.0.4.1 (excluding)
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 7.0.0 (including) 7.0.4.1 (excluding)