Skip to content
OpenAdvisories
High · 7.5 Known exploited Public exploit CVE-2014-0130 EUVD-2017-0180GHSA-6x85-j5j2-27jx

actionpack Path Traversal vulnerability

Published May 7, 2014 · Updated Oct 22, 2025 · Assigned by redhat

Description

Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1, when certain route globbing configurations are enabled, allows remote attackers to read arbitrary files via a crafted request.

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.

ReleasePackageFixed inAdvisory
Debian 7 ruby-actionpack-3.2 3.2.6-6+deb7u2 DSA-2929-1
ReleasePackageFixed inAdvisory
RHEL 1 ruby193-rubygem-actionpack +1 1:3.2.8-5.5.el6 RHSA-2014:0510
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat CloudForms 5 cfme +3 5.2.4.2-1.el6cf RHSA-2014:0816
Red Hat CloudForms 5 ruby193-rubygem-actionpack 1:3.2.13-8.el6cf RHSA-2014:0816

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 3.0.0, < 3.2.18 3.2.18 GHSA-6x85-j5j2-27jx
RubyGems actionpack >= 4.0.0, < 4.0.5 4.0.5 GHSA-6x85-j5j2-27jx
RubyGems actionpack >= 4.1.0, < 4.1.1 4.1.1 GHSA-6x85-j5j2-27jx

Advisories 3

References