7.5

CVE-2025-61921: Sinatra has ReDoS vulnerability in ETag header value generation

Analyzed
AliasesUBUNTU-CVE-2025-61921DEBIAN-CVE-2025-61921CGA-972v-j928-p2x4
Published 10-10-2025Last modified 10-10-2025

Vulnerability summary

CVE-2025-61921 is a high (CVSS 7.5) vulnerability in sinatra. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 44% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 6

Timeline

  1. 10-10-2025
    PublishedVulnerability first disclosed.
  2. 10-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.50%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.50% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Sinatra

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard39 products
  • gitlab-cng-18.2All versions (No fix recorded)
  • gitlab-cng-18.9< 18.9.1-r0
  • gitlab-exporter-18.10All versions (No fix recorded)
  • gitlab-exporter-18.11< 18.11.5-r2
  • gitlab-exporter-18.6All versions (No fix recorded)
Debian1 product
  • ruby-sinatra< 3.0.5-3+deb12u1 | All versions (No fix recorded) | < 4.2.1-1
RubyGems1 product
  • sinatra< 4.2.0
Sinatra1 product
Sinatrarb1 product
Ubuntu1 product
  • ruby-sinatra< 2.0.8.1-1ubuntu0.1~esm3 | < 1.4.7-3ubuntu0.1~esm3 | < 1.4.8-1ubuntu0.1~esm3 | < 2.0.8.1-2+deb11u1ubuntu0.1~esm1 | < 4.2.1-1
Wolfi1 product
  • gitlab-cng-18.2All versions (No fix recorded)

7 vendors · 45 products

References

15 links
Show all 15 references