CVE-2023-28362
The redirect_to method in Rails allows provided values to contain …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect
- github.com/advisories/GHSA-4g8v-vg43-wpgf
- github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441
- github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5
- security.netapp.com/advisory/ntap-20250502-0009/
- github.com/rails/rails/commit/c9ab9b32bcdcfd8bcd55907f6c7b20b4e004cc23
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-28362.yml
- nvd.nist.gov/vuln/detail/CVE-2023-28362
- nvd.nist.gov/vuln/detail/CVE-2023-28362
- cve.org/CVERecord?id=CVE-2023-28362
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.