CVE-2023-22797
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-22797
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-22797.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | actionpack | !< 7.0.0||<>= 7.0.4.1 | >= 7.0.4.1 |
| RubyGems | actionpack | >=7.0.0,<7.0.4.1 | 7.0.4.1 |
References
- https://github.com/rails/rails/releases/tag/v7.0.4.1
- https://www.suse.com/security/cve/CVE-2023-22797.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-22797
- https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22797.yml
- https://security-tracker.debian.org/tracker/CVE-2023-22797
Verify integrity in audit chain (admin only). AS-IS.