Reliance on Untrusted Inputs in a Security Decision Affecting sinatra package, versions >=0.0.0
Threat Intelligence
Exploit Maturity
Proof of concept
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 ID SNYK-RUBY-SINATRA-6483832
- published 31 Oct 2024
- disclosed 26 Mar 2024
- credit t0rchwo0d
Introduced: 26 Mar 2024
CVE-2024-21510 Open this link in a new tabHow to fix?
There is no fixed version for sinatra
.
Overview
Affected versions of this package 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.