CVE-2023-28362: Rails Action Pack

Medium severity, CVSS 4.0. EPSS: 0.4% probability of exploitation activity in the next 30 days.

The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Rails Action Pack, from 7, before 7.0.5.1: fixed in 7.0.5.1
  • Rails Action Pack, from 6, before 6.1.7.4: fixed in 6.1.7.4

Affected products

  • Rails Action Pack: from 7, before 7.0.5.1 (fixed in 7.0.5.1); from 6, before 6.1.7.4 (fixed in 6.1.7.4)

Affected packages

Published 2025-01-09. Last modified 2026-06-17.