Skip to content
OpenAdvisories
Medium · 6.1 CVE-2023-22797 EUVD-2023-0421GHSA-9445-4cr6-336r

Open Redirect Vulnerability in Action Pack

Published Feb 9, 2023 · Updated Mar 24, 2025 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
— https://github.com/rails/rails 7.0.4.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-actionpack-7.0 7.0.4.1-1.1 openSUSE-SU-2025:15110-1, openSUSE-SU-2024:14067-1, openSUSE-SU-2024:12765-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 7.0.0, < 7.0.4.1 7.0.4.1 GHSA-9445-4cr6-336r

Advisories 4

References