PT-2023-6443

CVE-2023-22797

·

Published

2023-01-18

·

Updated

2025-05-17

Description by

CVSS 2.0
6.4
Medium
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Rails versions prior to 7.0.4.1
Description The issue is related to an open redirect vulnerability in Rails, where an attacker could bypass the protection against open redirects by using a carefully crafted URL, resulting in an open redirect vulnerability. This occurs when the redirect to helper is used with untrusted user input. The vulnerability can be exploited by a remote attacker to redirect users to an arbitrary URL.
Recommendations For versions prior to 7.0.4.1, upgrade to version 7.0.4.1 or apply the provided patch for the 7.0 series, 7-0-Fix-sec-issue-with- url host allowed.patch. As a temporary workaround, consider validating and sanitizing user input for the redirect to helper to minimize the risk of exploitation. Avoid using the params[:some param] in the redirect to helper until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-9445-4CR6-336R
ALT-PU-2025-1938
OPENSUSE-SU-2024:12765-1
OPENSUSE-SU-2024:14067-1
OPENSUSE-SU-2025:15110-1
Found an issue in the description? Have something to add? Feel free to write us 👾