Ruby sinatra: Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security
Affects ruby-sinatraSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-21510 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-21510 (opens in a new tab)
- security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832 (opens in a new tab)
- github.com/sinatra/sinatra/pull/2053 (opens in a new tab)
- github.com/rack/rack/commit/58eed3015d89249a3c48d144bbeabb01f69ea696 (opens in a new tab)