CVE-2016-0752: Actionview Path Traversal Vulnerability
HIGHCVE-2016-0752 is a HIGH (CVSS 7.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Actionview libraries in the RubyGems ecosystem. The issue involves directory traversal vulnerability in action view in ruby on rails. Remediation is available by upgrading affected packages to version 4.1.14.1, 4.2.5.1, 3.2.22.1.
CVE-2016-0752 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H).
How to Fix CVE-2016-0752
To remediate this vulnerability, upgrade all affected Actionview dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade actionview to 4.1.14.1
Upgrade actionview to 4.2.5.1
Upgrade actionpack to 4.1.14.1
Upgrade actionpack to 4.2.5.1
Upgrade actionpack to 3.2.22.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for actionview
How to Check if You Are Affected
To determine whether your application is affected by CVE-2016-0752, inspect your project dependencies for Actionview:
inspect dependencies for actionview
Analyze the terminal output to locate any version of Actionview in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.14.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Actionview, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-0752 Affected Actionview Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
actionview
|
RubyGems |
≥ 4.0.0
< 4.1.14.1
|
4.1.14.1
|
|
actionview
|
RubyGems |
≥ 4.2.0
< 4.2.5.1
|
4.2.5.1
|
|
actionpack
|
RubyGems |
≥ 4.0.0
< 4.1.14.1
|
4.1.14.1
|
|
actionpack
|
RubyGems |
≥ 4.2.0
< 4.2.5.1
|
4.2.5.1
|
|
actionpack
|
RubyGems |
< 3.2.22.1
|
3.2.22.1
|
References
Frequently Asked Questions
What is CVE-2016-0752?
Which Actionview versions are affected?
What version fixes CVE-2016-0752?
Is actionview affected?
Is actionpack affected?
What is the CVSS score of CVE-2016-0752?
What CWE is associated with CVE-2016-0752?
How can I check RubyGems dependencies for CVE-2016-0752?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xrr4-p6fq-hjg7",
"modified" : "2025-10-22T17:35:03Z",
"published" : "2017-10-24T18:33:35Z",
"aliases" : [ "CVE-2016-0752" ],
"summary" : "Directory traversal vulnerability in Action View in Ruby on Rails",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionview"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.14.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.14.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionview"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.5.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.5.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionpack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.14.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.14.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionpack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.5.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.5.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionpack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.22.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0752"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-xrr4-p6fq-hjg7"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0752.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-0752.yml"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG00"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210618005620/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210621170450/http://www.securityfocus.com/bid/81801"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210723192420/http://www.securitytracker.com/id/1034816"
}, {
"type" : "WEB",
"url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/40561"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2016-0296.html"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2016/dsa-3464"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2016/01/25/13"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/81801"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id/1034816"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T22:04:24Z",
"nvd_published_at" : "2016-02-16T02:59:06Z"
}
}