Loading...
Skip to main content

CVE-2016-2098

HIGH

actionpack allows remote code execution via application's unrestricted use of render method

Published October 24, 2017Updated February 20, 2024Source: osv

Summary

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.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update actionpack to 4.1.14.2 or later
gem install actionpack -v 4.1.14.2
Bundler
Update actionpack to 3.2.22.2 or later
gem install actionpack -v 3.2.22.2
Bundler
Update actionpack to 4.2.5.2 or later
gem install actionpack -v 4.2.5.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

PackageEcosystemAffectedFixed 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-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.

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

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

CVSS Score
7.3

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-78rc-8c29-p45g

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies