CVE-2023-22797: actionpack_project actionpack URL Redirection to Untrusted Site
Vulnerability summary
CVE-2023-22797 is a medium (CVSS 6.1) URL Redirection to Untrusted Site vulnerability in actionpack_project actionpack. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48.5% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 09-02-2023PublishedVulnerability first disclosed.
- 24-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · RubygemsEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.60% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Actionpack_project1 product
- actionpack≥ 7.0.0, < 7.0.4.1
RubyGems1 product
- actionpack≥ 7.0.0, < 7.0.4.1
Rubyonrails1 product
- rails≥ 7.0.0, < 7.0.4.1
Ubuntu1 product
- railsAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- github.com/rails/railsPACKAGE