#VU103627 Reliance on Untrusted Inputs in a Security Decision in Sinatra - CVE-2024-21510

 

#VU103627 Reliance on Untrusted Inputs in a Security Decision in Sinatra - CVE-2024-21510

Published: February 5, 2025


Vulnerability identifier: #VU103627
Vulnerability risk: Medium
CVSSv4.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/E:U/U:Green
CVE-ID: CVE-2024-21510
CWE-ID: CWE-807
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Sinatra
Software vendor:
Sinatra

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to excessive data output by the application. A remote attacker when making a request to a method with redirect applied, can 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.


Remediation

Install updates from vendor's website.

External links