CVE-2023-22797
MEDIUM 6.1CVSS 3.1Open Redirect Vulnerability in Action Pack
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.
- Published
- 9 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-9445-4cr6-336r
- Sources
- NVDJSONOSV GHSA-9445-4cr6-336rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | actionpack_project | actionpackcpe:2.3:a:actionpack_project:actionpack:*:*:*:*:*:ruby:*:* |
>= 7.0.0, < 7.0.4.1 | 7.0.4.1 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.4.1 | 7.0.4.1 |
| OSV | RubyGems | actionpack | >= 7.0.0, < 7.0.4.1 | 7.0.4.1 |
References
- https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127 · Not Applicable, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22797 · ADVISORY
- https://github.com/rails/rails · PACKAGE
- https://github.com/rails/rails/releases/tag/v7.0.4.1 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22797.yml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jan 2023)