National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-2097 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 5.3 MEDIUM
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.html
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.html
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.html
http://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/ Patch Vendor Advisory
http://www.debian.org/security/2016/dsa-3509
http://www.securityfocus.com/bid/83726
http://www.securitytracker.com/id/1035122
https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJ

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:rubyonrails:rails:4.0.0:-:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.0:beta:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.1:-:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.1:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.1:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.1:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.1:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.4:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.6:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.6:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.6:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.0.10:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.0:-:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.0:beta1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.0:beta2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.2:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.2:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.2:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.6:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.6:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.7.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.9:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.10:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.10:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.10:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.10:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.12:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.13:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.14:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:4.1.14:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
3.2.22.1
 cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.14.1:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

53 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-2097
NVD Published Date:
04/07/2016
NVD Last Modified:
08/08/2019