Name | CVE-2012-1098 |
Description | Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods. |
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 | 668977 |
Vulnerable and fixed packages
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.
Notes
[squeeze] - rails <not-affected> (Vulnerable code not present)
(code lives within ruby-actionpack in unstable)