Red Hat Bugzilla – Bug 755004
CVE-2011-4319 rubygem-actionpack: XSS in the 'translate' helper method
Last modified: 2016-03-04 06:45:21 EST
A cross-site scripting (XSS) flaw was found in the way the 'translate' helper method of the Ruby on Rails performed HTML escaping of interpolated user input, when interpolation in combination with HTML-safe translations were used. A remote attacker could use this flaw to execute arbitrary HTML or web script by providing a specially-crafted input to Ruby on Rails application, using the ActionPack module and its 'translate' helper method without explicit (application specific) sanitization of user provided input.
Relevant upstream patches:
This issue affects the versions of the rubygem-actionpack package, as shipped with Fedora release of 16 and 15. Please schedule an update.
This issue did NOT affect the version of the rubygem-actionpack package, as shipped with Fedora release of 14.
This issue did NOT affect the version of the rubygem-actionpack package, as shipped with Fedora EPEL 5.
Created rubygem-actionpack tracking bugs for this issue
Affects: fedora-16 [bug 755006]
Affects: fedora-15 [bug 755007]
This issue was given the name CVE-2011-4319:
This is corrected in upstream versions 3.0.11 and 3.1.2 (but 3.1.3 is recommended due to regressions in 3.1.2).