GHSA-24fg-p96v-hxh8, CVE-2011-0447
gem/actionpack
Cross-Site Request Forgery (CSRF)
Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage "combinations of browser plugins and HTTP redirects," a related issue to CVE-2011-0696.
All versions starting from 2.1.0 before 2.3.11, all versions starting from 3.0.0 before 3.0.4
Upgrade to versions 2.3.11, 3.0.4 or above.
2023-05-29
source |