CVE & CISA-KEV Catalog

CVE-2023-22797

MEDIUM
6.1
CVSS v3
NVD

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.

How to fix

Remediation Available
actionpackNVD
Affected:>= 7.0.0, < 7.0.4.1Fixed in:7.0.4.1CVE-2023-22797derived from NVD
railsNVD
Affected:>= 7.0.0, < 7.0.4.1Fixed in:7.0.4.1CVE-2023-22797derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploit Intelligence

0.60%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-601 (Open Redirect) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-4123High7.698%-Fix
CVE-2018-11784Medium4.394%-Fix
CVE-2021-22881Medium6.187%-Fix
CVE-2022-45402Medium6.182%-Fix
CVE-2017-1000117High8.878%-Fix
CVE-2019-10098Medium6.174%-Fix
Embed a live status badge for CVE-2023-22797
CVE-2023-22797 severity badge

Markdown

[![CVE-2023-22797](https://tridentstack.com/cve/badge/CVE-2023-22797.svg)](https://tridentstack.com/cve/CVE-2023-22797)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-22797"><img src="https://tridentstack.com/cve/badge/CVE-2023-22797.svg" alt="CVE-2023-22797"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-03-24.