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.
The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being read from an upstream component or sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Rails | Rubyonrails | - (including) | - (including) |
Rails | Ubuntu | bionic | * |
Rails | Ubuntu | kinetic | * |
Rails | Ubuntu | lunar | * |
Rails | Ubuntu | mantic | * |
Rails | Ubuntu | trusty | * |
Rails | Ubuntu | xenial | * |
Rails-4.0 | Ubuntu | trusty | * |
Ruby-actionpack-3.2 | Ubuntu | trusty | * |
Ruby-activemodel-3.2 | Ubuntu | trusty | * |
Ruby-activerecord-3.2 | Ubuntu | trusty | * |
Ruby-activesupport-3.2 | Ubuntu | trusty | * |
Ruby-rails-3.2 | Ubuntu | trusty | * |
If a message is malformed, it may cause the message to be incorrectly interpreted. Neutralization is an abstract term for any technique that ensures that input (and output) conforms with expectations and is “safe.” This can be done by:
This weakness typically applies in cases where the product prepares a control message that another process must act on, such as a command or query, and malicious input that was intended as data, can enter the control plane instead. However, this weakness also applies to more general cases where there are not always control implications.