ADVISORIES

GitHub Advisory Database

GHSA-h56m-vwxc-3qpw

Directory traversal vulnerability in actionpack

Moderate CVE-2014-7829

Details

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \ (backslash) character, a similar issue to CVE-2014-7818.

Affected packages

EcosystemPackageAffected versions
RubyGemsactionpack
From 4.1.0 before 4.1.8 (fixed in 4.1.8)
RubyGemsactionpack
From 3.0.0 before 3.2.21 (fixed in 3.2.21)
RubyGemsactionpack
From 4.0.0 before 4.0.12 (fixed in 4.0.12)
RubyGemsactionpack
From 4.2.0.beta1 before 4.2.0.beta4 (fixed in 4.2.0.beta4)

References