CVE-2016-2098
actionpack allows remote code execution via application's unrestricted use of render method
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 4.1.14.2
gem install actionpack -v 3.2.22.2
gem install actionpack -v 4.2.5.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| actionpack | rubygems | 4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+57 more) | 4.1.14.2 |
| actionpack | rubygems | 3.0.0, 3.0.1, 3.0.10, 3.0.10.rc1 (+104 more) | 3.2.22.2 |
| actionpack | rubygems | 4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+11 more) | 4.2.5.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-2098ADVISORY
- https://github.com/rails/railsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-2098.ymlWEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/ly-IH-fxr_QWEB
- https://web.archive.org/web/20200228015318/http://www.securityfocus.com/bid/83725WEB
- https://web.archive.org/web/20210612214217/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJWEB
- https://web.archive.org/web/20211205173437/https://securitytracker.com/id/1035122WEB
- https://www.exploit-db.com/exploits/40086WEB
- https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00057.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00086.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlWEB
- https://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-releasedWEB
- https://www.debian.org/security/2016/dsa-3509WEB
Frequently Asked Questions
- What is CVE-2016-2098?
- actionpack allows remote code execution via application's unrestricted use of render method This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
- How do I check if my project is affected by CVE-2016-2098?
- CVE-2016-2098 affects actionpack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-2098 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2021-22904HIGH
Possible DoS Vulnerability in Action Controller Token Authentication
- CVE-2020-8164HIGH
Possible Strong Parameters Bypass in ActionPack
- CVE-2015-7581HIGH
actionpack is vulnerable to denial of service because of a wildcard controller route
- CVE-2016-0751HIGH
actionpack is vulnerable to denial of service via a crafted HTTP Accept header
- CVE-2023-22797MEDIUM
Open Redirect Vulnerability in Action Pack
- CVE-2024-26143MEDIUM
Rails has possible XSS Vulnerability in Action Controller
- CVE-2020-8185MEDIUM
Untrusted users can run pending migrations in production in Rails
- CVE-2024-28103MEDIUM
Missing security headers in Action Pack on non-HTML responses
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies