CVE-2015-3226

Related Vulnerabilities: CVE-2015-3226  

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.

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2015-3226 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 4.3
Base Metrics AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Affected Packages State

Platform Package State
Red Hat Subscription Asset Manager 1 rubygem-activesupport Will not fix
Red Hat Subscription Asset Manager 1 ruby193-rubygem-activesupport Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux ruby193-rubygem-activesupport Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux rh-ror41-rubygem-activesupport Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux ror40-rubygem-activesupport Not affected

Acknowledgements

Red Hat would like to thank Ruby upstream developers for reporting this issue. Upstream acknowledges Francois Chagnon of Shopify as the original reporter.