GHSA-mr3q-g2mv-mr4q · Severity: low · Ecosystem: rubygems — Sinatra is vulnerable to ReDoS through ETag header value generation
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.
Conclusion & alert: CVE-2025-61921 is rated Exploit Available (50/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.46%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-07-06 | 0.45% | 0.46% | +0.01% |
| 2 | 2026-06-15 | 0.52% | 0.45% | -0.07% |
| 3 | 2026-06-08 | — | 0.52% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.7 | 4.0 | LOW |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-mr3q-g2mv-mr4q · Severity: low · Ecosystem: rubygems — Sinatra is vulnerable to ReDoS through ETag header value generation
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-61921 not yet assigned priority: Debian including 1 source packages (ruby-sinatra), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. | https://security-tracker.debian.org/tracker/CVE-2025-61921 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-61921 |
ubuntu
|
medium | CVE-2025-61921 medium priority: Ubuntu including 1 source packages (ruby-sinatra), 8 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): needs-triage 3, not-affected 3, needed 1, released 1. | https://ubuntu.com/security/CVE-2025-61921 |
| URL | Tags |
|---|---|
| https://bugs.ruby-lang.org/issues/19104 | Issue Tracking |
| https://github.com/sinatra/sinatra/issues/2120 | Issue Tracking |
| https://github.com/sinatra/sinatra/pull/1823 | Exploit Patch |
| https://github.com/sinatra/sinatra/pull/2121 | Patch |
| https://github.com/sinatra/sinatra/security/advisories/GHSA-mr3q-g2mv-mr4q | Vendor Advisory |