CVE-2016-2097
MEDIUM5.3EPSS 1.9%rails - security update
Published: 10/24/2017Modified: 4/28/2026
Description
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.
Affected packages (4)
- Debian/railsfrom 0, < 2:4.2.5.2-1
- Debian/railsfrom 0, < 2:4.1.8-1+deb8u2
- RubyGems/actionpack>= 3.0.0, < 3.2.22.2
- RubyGems/actionview>= 3.0.0, < 3.2.22.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-2097
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-2097
- PATCHhttps://github.com/rails/rails
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.html
- WEBhttps://github.com/rails/rails/commit/8a1d3ea617ffb0c8ae8467fa439bf63a3bfc4324
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-2097.yml
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-2097.yml
- WEBhttps://groups.google.com/forum/#!topic/rubyonrails-security/ddY6HgqB2z4
- WEBhttps://web.archive.org/web/20160322002234/http://www.securitytracker.com/id/1035122
- WEBhttps://web.archive.org/web/20200228015320/http://www.securityfocus.com/bid/83726
- WEBhttps://web.archive.org/web/20201221115217/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJ
- WEBhttp://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released
- WEBhttp://www.debian.org/security/2016/dsa-3509