Skip to content
OpenAdvisories
Medium CVE-2013-4491 EUVD-2017-0173GHSA-699m-mcjm-9cw8

actionpack vulnerable to Cross-site Scripting

Published Dec 7, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 ruby-actionpack-3.2 3.2.6-6+deb7u1 DSA-2888-1
ReleasePackageFixed inAdvisory
RHEL 1 ruby193-rubygem-actionpack +1 1:3.2.8-5.1.el6 RHSA-2013:1794
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenStack 3 ruby193-rubygem-actionpack +1 1:3.2.8-5.1.el6 RHSA-2014:0008

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 3.0.0, < 3.2.16 3.2.16 GHSA-699m-mcjm-9cw8
RubyGems actionpack >= 4.0.0, < 4.0.2 4.0.2 GHSA-699m-mcjm-9cw8

Advisories 3

References