7.5

CVE-2025-61921: sinatra

CVSS: 7.5v3.1HighAnalyzed
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 41.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

41%

Versus all other CVEs

30-day change

0.00 pp

From 0.50% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.50%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Sinatra

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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< 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