CVE-2015-3226
rubygem-activesupport: XSS Vulnerability in ActiveSupport::JSON.encode
Overview
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.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
AV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activesupport | >=4.1.0, <4.1.11>=4.2.0, <4.2.2 | 4.1.114.2.2~> 4.1.11 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Red Hat 1 release · 1 package
wont fix 1
rh-ror41-rubygem-activesupport
| Release | Package | Fixed in |
|---|---|---|
| 7 | rh-ror41-rubygem-activesupport +1 | wont fix |
debian 4 releases · 1 package
fixed 4
rails
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:4.2.4-2 |
| 12 | rails | 2:4.2.4-2 |
| 13 | rails | 2:4.2.4-2 |
| 14 | rails | 2:4.2.4-2 |
echo 1 release · 1 package
fixed 1
rails
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:4.2.4-2 |
openSUSE 1 release · 2 packages
fixed 2
ruby2-2-rubygem-activesupport-4-2
ruby2-2-rubygem-activesupport-5-0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-2-rubygem-activesupport-4-2 +3 | 4.2.7.1-1.1 | openSUSE-SU-2024:10574-1 |
| Tumbleweed | ruby2-2-rubygem-activesupport-5-0 +3 | 5.0.0.1-1.1 | openSUSE-SU-2024:10574-1 |
References
- openwall.com http://openwall.com/lists/oss-security/2015/06/16/17
- www.debian.org http://www.debian.org/security/2016/dsa-3464
- www.securityfocus.com http://www.securityfocus.com/bid/75231
- www.securitytracker.com http://www.securitytracker.com/id/1033755
- access.redhat.com https://access.redhat.com/security/cve/CVE-2015-3226
- github.com https://github.com/rails/rails
- groups.google.com https://groups.google.com/forum/#!topic/ruby-security-ann/7VlB_pck3hU
- groups.google.com https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ
- groups.google.com https://groups.google.com/g/rubyonrails-core/c/qBUqVlXERag/m/kuH3wQk1kxUJ
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2015-3226
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.