Improper Input Validation in actionpack (GHSA-8fqx-7pv4-3jwm)
Published: 2017-10-24T18:33:38Z
Aliases: CVE-2008-7248
Severity: MODERATE · CWE: CWE-20

Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.

Affected packages:
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 2.1.0
fixed: 2.1.3
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 2.2.0
fixed: 2.2.2