Reliance on Untrusted Inputs in a Security Decision Affecting rubygem-sinatra package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 IDSNYK-RHEL7-RUBYGEMSINATRA-8546712
  • published20 Dec 2024
  • disclosed1 Nov 2024

Introduced: 1 Nov 2024

CVE-2024-21510  (opens in a new tab)
CWE-807  (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.

Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.

CVSS Scores

version 3.1