CVE-2016-2097: Ruby on Rails - Path Traversal
- Cve: CVE-2016-2097
- Name: Ruby on Rails - Path Traversal
- 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.
- Impact: Attackers can read arbitrary files on the server, potentially exposing sensitive information.
- Remediation: Update to Ruby on Rails 3.2.22.2, 4.1.14.2 or later versions.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.04423
- Epss percentile: 0.91595
- Assignee: [email protected]
- Published at: 2016-04-07T23:59:05Z
- Age in days: 3883
- Modified at: 2026-06-17T00:43:25Z
- Patch available: yes
- References total: 8
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-2097
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 2
- Rank: 3792
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rubyonrails:rails | = 4.1.14 rc1, = 4.1.14 rc2, = 4.1.13 rc1, = 4.1.12 rc1, = 4.1.10 rc1, = 4.1.10 rc2, = 4.1.10 rc3, = 4.1.10 rc4, = 4.1.9 rc1, = 4.1.8, = 4.1.7.1, = 4.1.7, = 4.1.6 rc1, = 4.1.6 rc2, = 4.1.5, = 4.1.4, = 4.1.3, = 4.1.2, = 4.1.2 rc1, = 4.1.2 rc2, = 4.1.2 rc3, = 4.1.1, = 4.1.0, = 4.1.0 beta1, = 4.1.0 beta2, = 4.1.0 rc1, = 4.1.0 rc2, = 4.0.10 rc1, = 4.0.9, = 4.0.8, = 4.0.7, = 4.0.6, = 4.0.6 rc1, = 4.0.6 rc2, = 4.0.6 rc3, = 4.0.5, = 4.0.4, = 4.0.4 rc1, = 4.0.3, = 4.0.2, = 4.0.1, = 4.0.1 rc1, = 4.0.1 rc2, = 4.0.1 rc3, = 4.0.1 rc4, = 4.0.0, = 4.0.0 beta, = 4.0.0 rc1, = 4.0.0 rc2 | no | nvd | /v1/products/rubyonrails/rails |
| rubyonrails:ruby_on_rails | = 4.1.14.1, <= 3.2.22.1 | no | nvd | /v1/products/rubyonrails/ruby_on_rails |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails | commit, fix, package | yes | /v1/repositories/rails/rails |
Index
- Repositories: 14
- Repositories high signal: 2
- Packages: 2
Exploitation
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 2416366
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since