{"cve":"CVE-2024-21510","nvd":{"published":"2024-11-01T05:15:05.640","modified":"2026-06-17T07:09:38.693","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-807"],"references":["https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L319","https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L323C1-L343C17","https://github.com/sinatra/sinatra/pull/2010","https://security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:56:33.105311382+00:00"},"epss":{"cve":"CVE-2024-21510","score":0.00494,"percentile":0.42398,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hxx2-7vcw-mqr3","url":"https://osv.dev/vulnerability/GHSA-hxx2-7vcw-mqr3","summary":"Sinatra vulnerable to Reliance on Untrusted Inputs in a Security Decision","modified":"2026-09-10T03:50:20.789353543Z","packages":[{"ecosystem":"RubyGems","name":"sinatra","purl":"pkg:gem/sinatra","ranges":["<4.1.0"],"fixed":["4.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}