Skip to main content
CVE-2025-61921VulnerabilityPublished Updated

Ruby sinatra:

Affects ruby-sinatraSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 1.4.7-3ubuntu0.1~esm3 : patch ruby-sinatra soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.4.7-3ubuntu0.1~esm3, 1.4.8-1ubuntu0.1~esm3, 2.0.8.1-2+deb11u1ubuntu0.1~esm1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2025

  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

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=resoluteOther threatsAffected
  • <4.2.1-1
Fixed in
  • 4.2.1-1
Ubuntu Pro 22.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.0.8.1-2+deb11u1ubuntu0.1~esm1
Fixed in
  • 2.0.8.1-2+deb11u1ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <1.4.8-1ubuntu0.1~esm3
Fixed in
  • 1.4.8-1ubuntu0.1~esm3
Ubuntu Pro 16.04 LTSruby-sinatrapkg:deb/ubuntu/ruby-sinatra?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • <1.4.7-3ubuntu0.1~esm3
Fixed in
  • 1.4.7-3ubuntu0.1~esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Sinatra is a domain-specific language for creating web applications in Ruby. In versions prior to 4.2.0, there is a denial of service vulnerability in the `If-Match` and `If-None-Match` header parsing component of Sinatra, if the `etag` method is used when constructing the response. Carefully crafted input can cause `If-Match` and `If-None-Match` header parsing in Sinatra to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is typically involved in generating the `ETag` header value. Any applications that use the `etag` method when generating a response are impacted. Version 4.2.0 fixes the issue.

References

Community reviews

Loading reviews…