Vulnerability · Published Feb 9, 2023 · Assigned by hackerone

CVE-2023-22797

Medium 6.1

In plain English

A medium-severity open redirect in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.6%top 51.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsactionpack7.0.4.1GHSA-9445-4cr6-336r
Ubuntu:24.04:LTSrailsno fix listedUBUNTU-CVE-2023-22797
Ubuntu:25.10railsno fix listedUBUNTU-CVE-2023-22797
Ubuntu:26.04:LTSrailsno fix listedUBUNTU-CVE-2023-22797
Ubuntu:26.10railsno fix listedUBUNTU-CVE-2023-22797

Affected products (as reported)

VendorProductVersions
n/a https://github.com/rails/rails 7.0.4.1

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References