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.
History

Fri, 01 Nov 2024 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 01 Nov 2024 14:15:00 +0000

Type Values Removed Values Added
Title sinatra: Open Redirect Vulnerability in Sinatra via X-Forwarded-Host Header
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 01 Nov 2024 05:15:00 +0000

Type Values Removed Values Added
Description 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.
Weaknesses CWE-807
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2024-11-01T05:00:04.821Z

Updated: 2024-11-01T14:19:48.664Z

Reserved: 2023-12-22T12:33:20.119Z

Link: CVE-2024-21510

cve-icon Vulnrichment

Updated: 2024-11-01T14:19:43.521Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-11-01T05:15:05.640

Modified: 2024-11-01T12:57:03.417

Link: CVE-2024-21510

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-11-01T05:00:04Z

Links: CVE-2024-21510 - Bugzilla