Directory Traversal Affecting ror40-rubygem-actionpack-doc package, versions <1:4.0.2-7.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.82% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-ROR40RUBYGEMACTIONPACKDOC-4716529
  • published26 Mar 2023
  • disclosed29 Feb 2016

Introduced: 29 Feb 2016

CVE-2016-2097  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 ror40-rubygem-actionpack-doc to version 1:4.0.2-7.el7 or higher.
This issue was patched in RHSA-2016:0454.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ror40-rubygem-actionpack-doc package and not the ror40-rubygem-actionpack-doc package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

CVSS Scores

version 3.1