VDB
KO
MEDIUM

GHSA-h56m-vwxc-3qpw

Directory traversal vulnerability in actionpack

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / actionpack
Introduced in: 4.1.0 Fixed in: 4.1.8
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 3.0.0 Fixed in: 3.2.21
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 4.0.0 Fixed in: 4.0.12
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 4.2.0.beta1 Fixed in: 4.2.0.beta4
Fix bundle update actionpack

References