Name | CVE-2016-6316 |
Description | Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-604-1, DSA-3651-1 |
Debian Bugs | 834155 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
rails (PTS) | buster | 2:5.2.2.1+dfsg-1+deb10u3 | fixed |
buster (security) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed | |
bullseye | 2:6.0.3.7+dfsg-2 | fixed | |
bullseye (security) | 2:6.0.3.7+dfsg-2+deb11u1 | fixed | |
bookworm, sid | 2:6.1.7+dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
rails | source | wheezy | (not affected) | |||
rails | source | jessie | 2:4.1.8-1+deb8u4 | DSA-3651-1 | ||
rails | source | (unstable) | 2:4.2.7.1-1 | low | 834155 | |
ruby-actionpack-3.2 | source | wheezy | 3.2.6-6+deb7u3 | DLA-604-1 | ||
ruby-actionpack-3.2 | source | (unstable) | (unfixed) |
[wheezy] - rails <not-affected> (Vulnerable code not present, is only a transitional package)
https://github.com/rails/rails/commit/4bcccf5ecd81a6272479537911b7d9760c5be164