{"id":"CVE-2023-22797","published":"2023-02-09T00:00:00Z","modified":"2025-03-24T20:07:28Z","title":"An open redirect vulnerability is fixed in Rails 7.0.4.1 with the new protection against open redirects from calling…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00692,"percentile":0.48214,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127","tags":[]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["7.0.4.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-24T20:07:07.420667Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=7.0.0, <7.0.4.1"],"patched":["7.0.4.1"],"from":["GHSA-9445-4cr6-336r"],"provenance":"source"}],"summary":{"text":"The flaw is an open redirect in Rails 7.0.x, where the protection added to redirect_to for untrusted user input in version 7.0.4.1 can be bypassed by a carefully crafted URL. An attacker who crafts such a URL can redirect users to an arbitrary external site, and this requires network access and user interaction, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:32Z"},"euvd":{"id":"EUVD-2023-0421","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-22577","published":"2022-05-26","fixed":"7.0.2.4","kev":false,"link":{"from":"CVE-2022-22577","to":"CVE-2023-22797","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"7.0.2.4","toFixed":"7.0.4.1","daysApart":259}]}},{"cve":"CVE-2023-22792","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-22795","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-22797","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-28362","published":"2025-01-09","fixed":"7.0.5.1","kev":false},{"cve":"CVE-2024-26142","published":"2024-02-27","fixed":"7.1.3.1","kev":false},{"cve":"CVE-2024-26143","published":"2024-02-27","fixed":"7.1.3.1","kev":false}],"package":"RubyGems:actionpack"}}