Skip to main content
CVE-2024-21510VulnerabilityPublished Updated

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

0
Compare

Not known to be exploited · CVSS 5.4 Medium.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 24.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=nobleOther threatsAffected
  • =3.0.5-3
  • =3.0.5-3ubuntu1
Fixed in–
Ubuntu 22.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=jammyOther threatsAffected
  • =2.0.8.1-2
  • =2.0.8.1-2+deb11u1build0.22.04.1
Fixed in–
Ubuntu Pro 20.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps/focalOther threatsAffected
  • 2.0.5-4ubuntu1 – 2.0.8.1-1ubuntu0.1~esm3
4 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.4.7-5 – 1.4.8-1ubuntu0.1~esm3
4 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • 1.4.6-2 – 1.4.7-3ubuntu0.1~esm3
4 affected builds
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

Community reviews

Loading reviews…