CVE-2024-21510 Affecting ruby-sinatra package, versions *


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU2404-RUBYSINATRA-8322178
  • published6 Nov 2024
  • disclosed1 Nov 2024

Introduced: 1 Nov 2024

CVE-2024-21510  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 ruby-sinatra.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-sinatra package and not the ruby-sinatra package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 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