4.0med

CVE-2023-28362

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

Also known as GHSA-4g8v-vg43-wpgf

Published 3 y ago · modified 4 mo ago · JSON

CVSS
4.0
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.3%
percentile 27%
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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction (EPSS)

0.33% probability of exploitation in the next 30 days, higher than 27% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CISA ADP3.14.0CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA3.14.0CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub3.14.0CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsactionpack
<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
Ruby on Rails (RSS, critical only)

References

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.