VDB
KO
HIGH 7.5

GHSA-xrr4-p6fq-hjg7

Directory traversal vulnerability in Action View in Ruby on Rails

Details

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / actionview
Introduced in: 4.0.0 Fixed in: 4.1.14.1
Fix bundle update actionview
RubyGems / actionview
Introduced in: 4.2.0 Fixed in: 4.2.5.1
Fix bundle update actionview
RubyGems / actionpack
Introduced in: 4.0.0 Fixed in: 4.1.14.1
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 4.2.0 Fixed in: 4.2.5.1
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 0 Fixed in: 3.2.22.1
Fix bundle update actionpack

References