Vulnerability · Published Jan 9, 2025 · Assigned by hackerone

CVE-2023-28362

Medium 4.0

In plain English

A medium-severity security flaw in Action Pack from Rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.3%top 73.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rails2:6.1.7.10+dfsg-1~deb12u1DSA-5881-1
Debian:12rails2:6.1.7.10+dfsg-1~deb12u1DEBIAN-CVE-2023-28362
Debian:13rails2:7.2.2.1+dfsg-1DEBIAN-CVE-2023-28362
Debian:14rails2:7.2.2.1+dfsg-1DEBIAN-CVE-2023-28362
RubyGemsactionpack6.1.7.4GHSA-4g8v-vg43-wpgf
RubyGemsactionpack7.0.5.1GHSA-4g8v-vg43-wpgf
Ubuntu:24.04:LTSrailsno fix listedUBUNTU-CVE-2023-28362
Ubuntu:25.10railsno fix listedUBUNTU-CVE-2023-28362
Ubuntu:26.04:LTSrailsno fix listedUBUNTU-CVE-2023-28362
Ubuntu:26.10railsno fix listedUBUNTU-CVE-2023-28362

Affected products (as reported)

VendorProductVersions
Rails Action Pack 7.0.5.1 – before 7.0.5.16.1.7.4 – before 6.1.7.4

Weakness: CWE-116 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References