CVE-2023-22797 json
Open Redirect Vulnerability in Action Pack
published 2023-01-18 3 y ago modified 2026-06-17 4 mo ago also GHSA-9445-4cr6-336r , EUVD-2023-0421
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems actionpack 7.0.4.1
- actionpack_project actionpack 7.0.4.1
- rubyonrails rails 7.0.4.1
- rubygem-actionpack-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
- rubygem-actionpack-7.0 openSUSE Tumbleweed 7.0.8.4-1.1
- rubygem-actionpack-7.0 openSUSE Tumbleweed 7.0.4.1-1.1
opensuse advisories openSUSE-SU-2025:15110-1openSUSE-SU-2024:14067-1openSUSE-SU-2024:12765-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-22797 updated cvss 6.5
rubygem-actionpack: Open Redirect Vulnerability in Action Controller
-
Red Hat Satellite 6 rubygem-actionpacknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=7.0.0, <7.0.4.1 |
7.0.4.1 |
Affected products
- n/a https://github.com/rails/rails
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
- Technology feeds
References
-
discuss.rubyonrails.org
/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127
web, not-applicable
-
nvd.nist.gov
/vuln/detail/CVE-2023-22797
advisory
-
github.com
/rails/rails
package
-
github.com
/rails/rails/releases/tag/v7.0.4.1
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22797.yml
web
Sources
- CVE List CVE-2023-22797
- GitHub Advisory GHSA-9445-4cr6-336r
- NVD CVE-2023-22797
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.