Live threats

All CVEs / Rubyonrails

CVE-2008-7248Rubyonrails Rails

Medium 6.8 No auth needed

Priority
57
CVSS 2.0
6.8
EPSS
8.1%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Dec 16, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack ≥ 2.1.0 < 2.1.3 2.1.3 gem "actionpack", ">= 2.1.3"
RubyGems actionpack ≥ 2.2.0 < 2.2.2 2.2.2 gem "actionpack", ">= 2.2.2"

Per OSV / GitHub Advisories (GHSA-8fqx-7pv4-3jwm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails2.1.0
rubyonrailsrails2.1.1
rubyonrailsrails2.1.2
rubyonrailsrails2.2.0
rubyonrailsrails2.2.1

Official sources

References

Links published by the sources. Open them with care.