CVE-2023-28362
Advisory lineage Upstream: 0 Downstream: 7
Deferred
Published: 09 Jan 2025, 00:33
Last modified:02 May 2025, 23:02
Vulnerability Summary
Overall Risk (default)
low
16/100 CVSS Score
4 MEDIUM
v3.1 (cve.org)
EPSS Score
0.21% LOW
0% probability -0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
09 Jan 2025, 00:33
Published
Vulnerability first disclosed
02 May 2025, 23:02
Last Modified
Vulnerability 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
- v3.1•MEDIUM•Score: 4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS Trends
Current EPSS score: 0.21%• Percentile: 43%
Techniques & Countermeasures
- CWE-116•Improper Encoding or Escaping of Output
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Affected Systems
- rails•action pack
≥ 7.0.5.1, < 7.0.5.1 | ≥ 6.1.7.4, < 6.1.7.4
References (5)
- https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132
- https://github.com/advisories/GHSA-4g8v-vg43-wpgf
- https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441
- https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5
- https://security.netapp.com/advisory/ntap-20250502-0009/