Name | CVE-2008-7248 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 558685 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
rails (PTS) | jessie, jessie (lts) | 2:4.1.8-1+deb8u9 | fixed |
stretch (security), stretch (lts), stretch | 2:4.2.7.1-1+deb9u5 | fixed | |
buster (security), buster, buster (lts) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed | |
bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed | |
bookworm | 2:6.1.7.3+dfsg-2~deb12u1 | fixed | |
sid, trixie | 2:6.1.7.3+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
rails | source | lenny | (not affected) | |||
rails | source | (unstable) | 2.2.3-1 | medium | 558685 |
[lenny] - rails <not-affected> (Vulnerable code not present)
http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1