VDB
Sign up
MEDIUM

GHSA-24fg-p96v-hxh8

actionpack Cross-Site Request Forgery vulnerability

Quick fix

GHSA-24fg-p96v-hxh8 — actionpack: upgrade to the fixed version with the command below.

bundle update actionpack

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/actionpack
Introduced in: 2.1.0Fixed in: 2.3.11
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.0.0Fixed in: 3.0.4
Fixbundle update actionpack

References