Name | CVE-2022-3704 |
Description | A vulnerability classified as problematic has been found in Ruby on Rails. This affects an unknown part of the file actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. The real existence of this vulnerability is still doubted at the moment. The name of the patch is be177e4566747b73ff63fd5f529fab564e475ed4. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-212319. NOTE: Maintainer declares that there isn’t a valid attack vector. The issue was wrongly reported as a security vulnerability by a non-member of the Rails team. |
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 | 1024274 |
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 | vulnerable |
| stretch (security), stretch (lts), stretch | 2:4.2.7.1-1+deb9u5 | vulnerable |
| buster (security), buster, buster (lts) | 2:5.2.2.1+dfsg-1+deb10u5 | vulnerable |
| bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | vulnerable |
| bookworm | 2:6.1.7.3+dfsg-2~deb12u1 | vulnerable |
| sid, trixie | 2:6.1.7.3+dfsg-4 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rails | source | jessie | (unfixed) | end-of-life | | |
rails | source | (unstable) | (unfixed) | unimportant | | 1024274 |
Notes
https://github.com/rails/rails/commit/be177e4566747b73ff63fd5f529fab564e475ed4
https://github.com/rails/rails/issues/46244
https://github.com/rails/rails/issues/46244#issuecomment-1380875153
Considered only a bug withouth security impact by the rails team