CVE-2024-21510 – sinatra
Package
Manager: gem
Name: sinatra
Vulnerable Version: >=0 <4.1.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00172 pctl0.3898
Details
Sinatra vulnerable to Reliance on Untrusted Inputs in a Security Decision 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.
Metadata
Created: 2024-11-01T06:30:34Z
Modified: 2024-11-20T16:38:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-hxx2-7vcw-mqr3/GHSA-hxx2-7vcw-mqr3.json
CWE IDs: ["CWE-807"]
Alternative ID: GHSA-hxx2-7vcw-mqr3
Finding: F089
Auto approve: 1