Loading...
Skip to main content

CVE-2016-0752

HIGH
Actively Exploited

Directory traversal vulnerability in Action View in Ruby on Rails

Published October 24, 2017Updated October 22, 2025Source: osv

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Summary

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a `..` (dot dot) in a pathname.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update actionview to 4.1.14.1 or later
gem install actionview -v 4.1.14.1
Bundler
Update actionpack to 4.2.5.1 or later
gem install actionpack -v 4.2.5.1
Bundler
Update actionpack to 4.1.14.1 or later
gem install actionpack -v 4.1.14.1
Bundler
Update actionpack to 3.2.22.1 or later
gem install actionpack -v 3.2.22.1
Bundler
Update actionview to 4.2.5.1 or later
gem install actionview -v 4.2.5.1

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

Affected Packages (5)

PackageEcosystemAffectedFixed In
actionview
rubygems
4.1.0, 4.1.0.beta1, 4.1.0.beta2, 4.1.0.rc1 (+30 more)4.1.14.1
actionpack
rubygems
4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+10 more)4.2.5.1
actionpack
rubygems
4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+56 more)4.1.14.1
actionpack
rubygems
0.9.0, 0.9.5, 1.0.0, 1.0.1 (+172 more)3.2.22.1
actionview
rubygems
4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+10 more)4.2.5.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H

References

Frequently Asked Questions

What is CVE-2016-0752?
Directory traversal vulnerability in Action View in Ruby on Rails This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2016-0752?
CVE-2016-0752 affects actionview and actionpack. This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-0752 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Remediation deadline: April 15, 2022

Also Known As

GHSA-xrr4-p6fq-hjg7

Related CVEs

Check if you're affected

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

Scan Your Dependencies