Path Traversal in Rubyonrails Rails
CVE-2016-2097
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 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.
EPSS exploit prediction
EPSS 0.044, 91.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 4.0.0, 4.0.1, 4.0.2
- Rubyonrails Ruby On Rails — versions 4.1.14.1
Weakness classification (CWE)
References
- SUSE-SU-2016:0967 (vendor-advisory)
- DSA-3509 (vendor-advisory)
- [ruby-security-ann] 20160229 [CVE-2016-0752] Possible Information Leak Vulnerability in Action View (mailing-list)
- www.securitytracker.com/id/1035122 (vdb-entry)
- SUSE-SU-2016:0854 (vendor-advisory)
- www.securityfocus.com/bid/83726 (vdb-entry)
- openSUSE-SU-2016:0835 (vendor-advisory)
- weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-rele… (Patch, Vendor Advisory)