Directory Traversal Affecting rubygem-sinatra package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (63rd 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-RUBYGEMSINATRA-4433621
  • published3 May 2022
  • disclosed2 May 2022

Introduced: 2 May 2022

CVE-2022-29970  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rubygem-sinatra.

NVD Description

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

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

CVSS Scores

version 3.1