CVE-2016-2097

Advisory lineage Upstream: 0 Downstream: 9
Modified
Published: 07 Apr 2016, 23:00
Last modified:05 Aug 2024, 23:17

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.3 MEDIUM
v3.0 (nvd)
EPSS Score
1.91% LOW
2% probability -0.43%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

07 Apr 2016, 23:00
Published
Vulnerability first disclosed
05 Aug 2024, 23:17
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.0MEDIUMScore: 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS Trends

Current EPSS score: 1.91% Percentile: 84%

Techniques & Countermeasures

  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    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.

Affected Systems

  • rubyonrailsrails

    4.0.0 | 4.0.0:beta | 4.0.0:rc1 | 4.0.0:rc2 | 4.0.1 | 4.0.1:rc1 | 4.0.1:rc2 | 4.0.1:rc3 | 4.0.1:rc4 | 4.0.2 | 4.0.3 | 4.0.4 | 4.0.4:rc1 | 4.0.5 | 4.0.6 | 4.0.6:rc1 | 4.0.6:rc2 | 4.0.6:rc3 | 4.0.7 | 4.0.8 | 4.0.9 | 4.0.10:rc1 | 4.1.0 | 4.1.0:beta1 | 4.1.0:beta2 | 4.1.0:rc1 | 4.1.0:rc2 | 4.1.1 | 4.1.2 | 4.1.2:rc1 | 4.1.2:rc2 | 4.1.2:rc3 | 4.1.3 | 4.1.4 | 4.1.5 | 4.1.6:rc1 | 4.1.6:rc2 | 4.1.7 | 4.1.7.1 | 4.1.8 | 4.1.9:rc1 | 4.1.10:rc1 | 4.1.10:rc2 | 4.1.10:rc3 | 4.1.10:rc4 | 4.1.12:rc1 | 4.1.13:rc1 | 4.1.14:rc1 | 4.1.14:rc2

  • rubyonrailsruby_on_rails

    ≤ 3.2.22.1 | 4.1.14.1

References (8)