CVE-2016-2098
rubygem-actionpack: code injection vulnerability in Action View
Overview
Description
Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.
Source: OX vulnerability database
Severity
7.3 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | actionpack | >=3.0.0, <3.2.22.2>=4.0.0, <4.1.14.2>=4.2.0, <4.2.5.2 | 3.2.22.24.1.14.24.2.5.2~> 3.2.22.2~> 4.2.5, >= 4.2.5.2 |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Red Hat 1 release · 8 packages
fixed 8
rh-ror41-rubygem-actionview
ruby193-rubygem-activerecord
ruby193-rubygem-actionpack
ruby193-rubygem-activesupport
ror40-rubygem-activesupport
ror40-rubygem-activerecord
+2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-ror41-rubygem-actionview +1 | 0:4.1.5-5.el7 | RHSA-2016:0456 |
| 7 | ruby193-rubygem-activerecord +1 | 1:3.2.8-11.el7 | RHSA-2016:0455 |
| 7 | ruby193-rubygem-actionpack +1 | 1:3.2.8-16.el7 | RHSA-2016:0455 |
| 7 | ruby193-rubygem-activesupport | 1:3.2.8-6.el7 | RHSA-2016:0455 |
| 7 | ror40-rubygem-activesupport | 1:4.0.2-4.el7 | RHSA-2016:0454 |
| 7 | ror40-rubygem-activerecord +1 | 1:4.0.2-6.el7 | RHSA-2016:0454 |
2 more rows
debian 4 releases · 1 package
fixed 4
rails
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:4.2.5.2-1 |
| 12 | rails | 2:4.2.5.2-1 |
| 13 | rails | 2:4.2.5.2-1 |
| 14 | rails | 2:4.2.5.2-1 |
echo 1 release · 1 package
fixed 1
rails
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:4.2.5.2-1 |
openSUSE 1 release · 4 packages
fixed 4
ruby2-2-rubygem-actionview-4-2
ruby2-2-rubygem-actionpack-4-2
ruby2-2-rubygem-actionview-5-0
ruby2-2-rubygem-actionpack-5-0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-2-rubygem-actionview-4-2 +3 | 4.2.7.1-1.1 | openSUSE-SU-2024:10057-1 |
| Tumbleweed | ruby2-2-rubygem-actionpack-4-2 +3 | 4.2.7.1-1.1 | openSUSE-SU-2024:10332-1 |
| Tumbleweed | ruby2-2-rubygem-actionview-5-0 +3 | 5.0.0.1-1.1 | openSUSE-SU-2024:10057-1 |
| Tumbleweed | ruby2-2-rubygem-actionpack-5-0 +3 | 5.0.0.1-1.1 | openSUSE-SU-2024:10332-1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00057.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00086.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- weblog.rubyonrails.org http://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released
- weblog.rubyonrails.org http://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/
- www.debian.org http://www.debian.org/security/2016/dsa-3509
- www.securityfocus.com http://www.securityfocus.com/bid/83725
Show all 24 references
- www.securitytracker.com http://www.securitytracker.com/id/1035122
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-2098
- github.com https://github.com/rails/rails
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-2098.yml
- groups.google.com https://groups.google.com/forum/#!msg/rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJ
- groups.google.com https://groups.google.com/forum/#!topic/rubyonrails-security/ly-IH-fxr_Q
- groups.google.com https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJ
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-2098
- web.archive.org https://web.archive.org/web/20200228015318/http://www.securityfocus.com/bid/83725
- web.archive.org https://web.archive.org/web/20210612214217/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJ
- web.archive.org https://web.archive.org/web/20211205173437/https://securitytracker.com/id/1035122
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-2098
- www.exploit-db.com https://www.exploit-db.com/exploits/40086
- www.exploit-db.com https://www.exploit-db.com/exploits/40086/
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.