Skip to content
OpenAdvisories
Medium CVE-2015-3226 EUVD-2017-0317GHSA-vxvp-4xwc-jpp6

activesupport Cross-site Scripting vulnerability

Published Jul 26, 2015 · Updated Aug 6, 2024 · Assigned by redhat

Description

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

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 14 rails 2:4.2.4-2 —
Debian 13 rails 2:4.2.4-2 —
Debian 12 rails 2:4.2.4-2 —
Debian 8 rails 2:4.1.8-1+deb8u1 DSA-3464-1
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 5 rubygem-activesupport-4_1 4.1.9-9.2 SUSE-SU-2016:0082-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-activesupport-4_2 5.0.0.1-1.1 openSUSE-SU-2024:10574-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activesupport >= 4.1.0, < 4.1.11 4.1.11 GHSA-vxvp-4xwc-jpp6
RubyGems activesupport >= 4.2.0, < 4.2.2 4.2.2 GHSA-vxvp-4xwc-jpp6

Advisories 3

References