CVE-2023-22797

Source
https://cve.org/CVERecord?id=CVE-2023-22797
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22797.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-22797
Aliases
Downstream
Related
Published
2023-02-09T00:00:00Z
Modified
2026-07-15T01:49:11.111073012Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "hackerone",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "7.0.4.1"
                },
                {
                    "last_affected": "7.0.4.1"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22797.json"
}
References

Affected packages

Git / github.com/rails/rails

Affected ranges

Type
GIT
Repo
https://github.com/rails/rails
Events
Database specific
{
    "cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.4.1"
        }
    ]
}

Affected versions

v7.*
v7.0.0
v7.0.1
v7.0.2
v7.0.3
v7.0.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22797.json"