| Name | CVE-2013-6415 |
| Description | Cross-site scripting (XSS) vulnerability in the number_to_currency helper in actionpack/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via the unit parameter. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-2888-1 |
| Debian Bugs | 731288, 731289, 731290 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| rails (PTS) | bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed |
| bookworm, bookworm (security) | 2:6.1.7.10+dfsg-1~deb12u1 | fixed | |
| trixie | 2:7.2.2.1+dfsg-7 | fixed | |
| forky, sid | 2:7.2.2.2+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| rails | source | (unstable) | (not affected) | |||
| rails-3.2 | source | (unstable) | 3.2.16-3+0 | |||
| rails-4.0 | source | (unstable) | 4.0.2+dfsg-1 | 731290 | ||
| ruby-actionpack-2.3 | source | wheezy | (unfixed) | end-of-life | ||
| ruby-actionpack-2.3 | source | (unstable) | (unfixed) | 731289 | ||
| ruby-actionpack-3.2 | source | wheezy | 3.2.6-6+deb7u1 | DSA-2888-1 | ||
| ruby-actionpack-3.2 | source | (unstable) | 3.2.16-1 | 731288 |
- rails <not-affected> (vulnerable code not present)
Starting with 2.3.14.1 rails is a transition package