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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:4.2.5.2-1 | — |
| Debian 13 | rails | 2:4.2.5.2-1 | — |
| Debian 12 | rails | 2:4.2.5.2-1 | — |
| Debian 8 | rails | 2:4.1.8-1+deb8u2 | DSA-3509-1 |
| Debian 7 | ruby-actionpack-3.2 | 3.2.6-6+deb7u3 | DLA-604-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 2 | rh-ror41-rubygem-actionpack +1 | 1:4.1.5-4.el6 | RHSA-2016:0456 |
| RHEL 2 | rh-ror41-rubygem-actionview +1 | 4.1.5-5.el6 | RHSA-2016:0456 |
| RHEL 2 | ror40-rubygem-actionpack +1 | 1:4.0.2-7.el6 | RHSA-2016:0454 |
| RHEL 2 | ror40-rubygem-activerecord +1 | 1:4.0.2-6.el6 | RHSA-2016:0454 |
| RHEL 2 | ror40-rubygem-activesupport | 1:4.0.2-4.el6 | RHSA-2016:0454 |
| RHEL 2 | ruby193-rubygem-actionpack +1 | 1:3.2.8-16.el6 | RHSA-2016:0455 |
| RHEL 2 | ruby193-rubygem-activerecord +1 | 1:3.2.8-11.el6 | RHSA-2016:0455 |
| RHEL 2 | ruby193-rubygem-activesupport | 1:3.2.8-6.el6 | RHSA-2016:0455 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | rubygem-actionpack-3_2 | 3.2.12-0.26.1 | SUSE-SU-2016:0967-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE WebYast 1.3 | rubygem-actionpack-3_2 | 3.2.12-0.26.1 | SUSE-SU-2022:15116-1, SUSE-SU-2016:0967-1 |
| SUSE Studio Onsite 1.3 | rubygem-actionpack-3_2 | 3.2.12-0.26.1 | SUSE-SU-2016:0967-1 |
| SUSE OpenStack Cloud 5 | rubygem-actionview-4_1 | 4.1.9-12.1 | SUSE-SU-2016:0854-1 |
| SUSE Lifecycle Management Server 1.3 | rubygem-actionpack-3_2 | 3.2.12-0.26.1 | SUSE-SU-2016:0967-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | actionpack | >= 3.0.0, < 3.2.22.2 | 3.2.22.2 | GHSA-vx9j-46rh-fqr8 |
| RubyGems | actionpack | >= 4.0.0, < 4.1.14.2 | 4.1.14.2 | GHSA-vx9j-46rh-fqr8 |
| RubyGems | actionview | >= 3.0.0, < 3.2.22.2 | 3.2.22.2 | GHSA-vx9j-46rh-fqr8 |
| RubyGems | actionview | >= 4.0.0, < 4.1.14.2 | 4.1.14.2 | GHSA-vx9j-46rh-fqr8 |
Advisories 8
- RHSA-2016:0455 Red Hat Security Advisory: ruby193 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0456 Red Hat Security Advisory: rh-ror41 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0454 Red Hat Security Advisory: ror40 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DLA-604-1 ruby-actionpack-3.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3509-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:15116-1 Security update for rubygem-actionpack-3_2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0967-1 Security update for rubygem-actionpack-3_2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0854-1 Security update for rubygem-actionview-4_1 SUSE / openSUSE Security Updates · Feb 4, 2026
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
- 1035122 vdb-entry
- SUSE-SU-2016:0854 vendor-advisory
- 83726 vdb-entry
- openSUSE-SU-2016:0835 vendor-advisory
- http://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/