Name | CVE-2020-5267 |
Description | In ActionView before versions 6.0.2.2 and 5.2.4.2, there is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the `j` or `escape_javascript` methods may be susceptible to XSS attacks. The issue is fixed in versions 6.0.2.2 and 5.2.4.2. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2149-1 |
Debian Bugs | 954304 |
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.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rails | source | jessie | 2:4.1.8-1+deb8u6 | | DLA-2149-1 | |
rails | source | stretch | 2:4.2.7.1-1+deb9u2 | | | |
rails | source | buster | 2:5.2.2.1+dfsg-1+deb10u1 | | | |
rails | source | (unstable) | 2:5.2.4.1+dfsg-2 | | | 954304 |
Notes
https://www.openwall.com/lists/oss-security/2020/03/19/1
https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a (master)