CVE-2023-28362: rails action pack Improper Encoding or Escaping of Output
Vulnerability summary
CVE-2023-28362 is a medium (CVSS 4.0) Improper Encoding or Escaping of Output vulnerability in rails action pack. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 26.5% of scored vulnerabilities.
Not severe (CVSS 4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3Timeline
- 09-01-2025PublishedVulnerability first disclosed.
- 02-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · RubygemsEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.33% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse7 products
- rubygem-actionpack-4_2&distro=SUSE OpenStack Cloud Crowbar 8< 4.2.9-7.18.1
- rubygem-actionpack-4_2&distro=SUSE OpenStack Cloud Crowbar 9< 4.2.9-7.18.1
- rubygem-actionpack-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1< 5.1.4-150000.3.18.1
- rubygem-actionpack-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2< 5.1.4-150000.3.18.1
- rubygem-actionpack-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3< 5.1.4-150000.3.18.1
Opensuse2 products
- rubygem-actionpack-5_1&distro=openSUSE Leap 15.4< 5.1.4-150000.3.18.1
- rubygem-actionpack-5_1&distro=openSUSE Leap 15.5< 5.1.4-150000.3.18.1
Debian1 product
- rails< 2:6.1.7.10+dfsg-1~deb12u1 | < 2:7.2.2.1+dfsg-1
Rails1 product
- action pack≥ 7.0.5.1, < 7.0.5.1 | ≥ 6.1.7.4, < 6.1.7.4
RubyGems1 product
- actionpack< 6.1.7.4 | ≥ 7.0.0, < 7.0.5.1
Ubuntu1 product
- railsAll versions (No fix recorded)
6 vendors · 13 products
References
17 linksShow all 17 references
- github.com/rails/railsPACKAGE