GitHub Advisory Database
GHSA-699m-mcjm-9cw8
actionpack vulnerable to Cross-site Scripting
Details
Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | actionpack | From 3.0.0 before 3.2.16 (fixed in 3.2.16) |
| RubyGems | actionpack | From 4.0.0 before 4.0.2 (fixed in 4.0.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4491
- https://github.com/advisories/GHSA-699m-mcjm-9cw8
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-4491.yml
- https://groups.google.com/forum/#!topic/ruby-security-ann/pLrh6DUw998
- http://rhn.redhat.com/errata/RHSA-2013-1794.html
- http://rhn.redhat.com/errata/RHSA-2014-0008.html
- http://rhn.redhat.com/errata/RHSA-2014-1863.html
- http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released
- http://www.debian.org/security/2014/dsa-2888