5.3med
CVE-2016-2097
actionview contains Path Traversal vulnerability
Also known as GHSA-vx9j-46rh-fqr8
Published 10 y ago · modified 4 mo ago · JSON
CVSS
5.3
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.4%
percentile 91%
Public exploits
0
none known
Summary
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.
Exploit prediction (EPSS)
4.42% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | actionview | >=3.0.0, <3.2.22.2 >=4.0.0, <4.1.14.2 | 3.2.22.2 4.1.14.2 |
| rubygems | actionpack | >=3.0.0, <3.2.22.2 >=4.0.0, <4.1.14.2 | 3.2.22.2 4.1.14.2 |
Classification
- Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
- Ruby on Rails (RSS, critical only)
References
- lists.opensuse.org /opensuse-security-announce/2016-04/msg00006.html · vendor-advisory, x_refsource_SUSE, x_transferred
- debian.org /security/2016/dsa-3509 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- groups.google.com /forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJ · mailing-list, x_refsource_MLIST, x_transferred
- securitytracker.com /id/1035122 · vdb-entry, x_refsource_SECTRACK, x_transferred
- lists.opensuse.org /opensuse-security-announce/2016-03/msg00083.html · vendor-advisory, x_refsource_SUSE, x_transferred
- securityfocus.com /bid/83726 · vdb-entry, x_refsource_BID, x_transferred
- lists.opensuse.org /opensuse-security-announce/2016-03/msg00080.html · vendor-advisory, x_refsource_SUSE, x_transferred
- weblog.rubyonrails.org /2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/ · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-2097 · advisory
- github.com /rails/rails/commit/8a1d3ea617ffb0c8ae8467fa439bf63a3bfc4324 · web
- github.com /rails/rails · package
- github.com /rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-2097.yml · web
- github.com /rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-2097.yml · web
- groups.google.com /forum/#!topic/rubyonrails-security/ddY6HgqB2z4 · web
- web.archive.org /web/20160322002234/http://www.securitytracker.com/id/1035122 · web
- web.archive.org /web/20200228015320/http://www.securityfocus.com/bid/83726 · web
- web.archive.org /web/20201221115217/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/d · web
- weblog.rubyonrails.org /2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released · web
Sources
- CVE List: CVE-2016-2097
- GitHub Advisory: GHSA-vx9j-46rh-fqr8
- NVD: CVE-2016-2097
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.