CVE-2016-2097 json
actionview contains Path Traversal vulnerability
published 2016-04-07 10 y ago modified 2026-06-17 4 mo ago also GHSA-vx9j-46rh-fqr8 , EUVD-2017-0314
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems actionview 3.2.22.2, 4.1.14.2
- rubygems actionpack 3.2.22.2, 4.1.14.2
- rails Debian 14, Debian 13, Debian 12 2:4.2.5.2-1
debian advisories DEBIAN-CVE-2016-2097
- ruby193-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-16.el6
- ruby193-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-16.el7
- ruby193-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-11.el6
- ruby193-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-11.el7
- ruby193-rubygem-activesupport RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-6.el6
- ruby193-rubygem-activesupport RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-6.el7
- ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-7.el6
- ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-7.el7
red hat advisories RHSA-2016:0455RHSA-2016:0454RHSA-2016:0456
- rubygem-actionpack-3_2 WebYast 1.3 3.2.12-0.27.3.1
- rubygem-actionpack-3_2 WebYast 1.3, Studio Onsite 1.3, SLE Software Development Kit 11 SP4 +1 more 3.2.12-0.26.1
- rubygem-actionview-4_1 OpenStack Cloud 5 4.1.9-12.1
suse advisories SUSE-SU-2022:15116-1SUSE-SU-2016:0967-1SUSE-SU-2016:0854-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-2097 updated cvss 6.8
rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
-
Red Hat CloudForms Management Engine 5 ruby193-rubygem-actionpack Red Hat Subscription Asset Manager rubygem-actionpack, ruby193-rubygem-actionpackaffected: no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-4.el6, rh-ror41-rubygem-actionview 4.1.5-5.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-4.el7, rh-ror41-rubygem-actionview 4.1.5-5.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-4.el6, rh-ror41-rubygem-actionview 4.1.5-5.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-4.el6, rh-ror41-rubygem-actionview 4.1.5-5.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-4.el7, rh-ror41-rubygem-actionview 4.1.5-5.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-4.el7, rh-ror41-rubygem-actionview 4.1.5-5.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +2 morefixed: vendor fix RHSA-2016:0456
+2 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-4.el6, rh-ror41-rubygem-actionview 4.1.5-5.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-4.el7, rh-ror41-rubygem-actionview 4.1.5-5.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +2 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.42% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionview | >=3.0.0, <3.2.22.2 >=4.0.0, <4.1.14.2 |
3.2.22.2 4.1.14.2 |
| rubygems | actionpack | >=3.0.0, <3.2.22.2 >=4.0.0, <4.1.14.2 |
3.2.22.2 4.1.14.2 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
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
-
github.com
/rails/rails/commit/8a1d3ea617ffb0c8ae8467fa439bf63a3bfc4324
web
-
lists.opensuse.org
/opensuse-security-announce/2016-04/msg00006.html
vendor-advisory, web
-
debian.org
/security/2016/dsa-3509
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00083.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00080.html
vendor-advisory, web
-
groups.google.com
/forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJ
mailing-list
-
securitytracker.com
/id/1035122
vdb-entry
-
securityfocus.com
/bid/83726
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2016-2097
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-2097.yml
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-2097.yml
web
-
groups.google.com
/forum/#!topic/rubyonrails-security/ddY6HgqB2z4
web
-
web.archive.org
/web/20160322002234/http://www.securitytracker.com/id/1035122
web
-
web.archive.org
/web/20200228015320/http://www.securityfocus.com/bid/83726
web
-
web.archive.org
/web/20201221115217/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZI
web
-
weblog.rubyonrails.org
/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released
web
Sources
- CVE List CVE-2016-2097
- GitHub Advisory GHSA-vx9j-46rh-fqr8
- NVD CVE-2016-2097
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.