Skip to content
Fencer Intel
medium 4.0

CVE-2023-28362 json

Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to

published 3y ago modified 4mo ago also GHSA-4g8v-vg43-wpgf , EUVD-2023-1687

cvss
4.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems actionpack 6.1.7.4, 7.0.5.1
  • rails Debian 12 2:6.1.7.10+dfsg-1~deb12u1
  • rails Debian 14, Debian 13 2:7.2.2.1+dfsg-1

debian advisories DEBIAN-CVE-2023-28362

  • foreman satellite utils 6.14, satellite capsule 6.14, satellite 6.14 3.7.0.10-1.el8sat
  • satellite satellite utils 6.14, satellite capsule 6.14, satellite 6.14 6.14.1-1.el8sat
  • foreman-cli satellite utils 6.14, satellite 6.14 3.7.0.10-1.el8sat
  • foreman-ec2 satellite 6.14 3.7.0.10-1.el8sat
  • createrepo_c satellite capsule 6.14, satellite 6.14 1.0.2-2.el8pc
  • foreman-ovirt satellite 6.14 3.7.0.10-1.el8sat
  • foreman-redis satellite 6.14 3.7.0.10-1.el8sat
  • rubygem-rails satellite 6.14 6.1.7.4-1.el8sat

red hat advisories RHSA-2023:7851

  • rubygem-actionpack-4_2 OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 4.2.9-7.18.1
  • rubygem-actionpack-5_1 SLE High Availability Extension 15 SP5, SLE High Availability Extension 15 SP4, SLE High Availability Extension 15 SP3 +4 more 5.1.4-150000.3.18.1

suse advisories SUSE-SU-2023:3255-1SUSE-SU-2023:3229-1

Is CVE-2023-28362 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-28362 updated cvss 4.7

actionpack: Possible XSS via User Supplied Values to redirect_to

  • Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/system-rhel7
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Satellite 6.14 for RHEL 8 rubygem-actionpack 6.1.7.4-1.el8sat
    fixed: vendor fix RHSA-2023:7851
  • Red Hat Satellite 6.14 for RHEL 8 foreman 3.7.0.10-1.el8sat, satellite 6.14.1-1.el8sat, createrepo_c 1.0.2-2.el8pc, foreman-cli 3.7.0.10-1.el8sat, foreman-ec2 3.7.0.10-1.el8sat, satellite-cli 6.14.1-1.el8sat, +46 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-14).

CVSS scores

assigned by version score vector
CISA ADP 3.1 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA 3.1 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub 3.1 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
rubygems actionpack
<6.1.7.4
>=7.0.0, <7.0.5.1
6.1.7.4
7.0.5.1

Affected products

  • Rails Action Pack

Classification

Weakness
  • CWE-116 Improper Encoding or Escaping of Output
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.