VDB
Sign up
HIGH7.5

GHSA-xrr4-p6fq-hjg7

Directory traversal vulnerability in Action View in Ruby on Rails

Quick fix

GHSA-xrr4-p6fq-hjg7 — actionview: upgrade to the fixed version with the command below.

bundle update actionview

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.0Fixed in: 4.1.14.1
Fixbundle update actionview
RubyGems/actionview
Introduced in: 4.2.0Fixed in: 4.2.5.1
Fixbundle update actionview
RubyGems/actionpack
Introduced in: 4.0.0Fixed in: 4.1.14.1
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 4.2.0Fixed in: 4.2.5.1
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 0Fixed in: 3.2.22.1
Fixbundle update actionpack

References