CVE-2025-61921
CVSS v3
7.5
HIGH
EPSS Score
0.5 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for sinatra.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- sinatraRubyGemsall versions · fixed in 4.2.0
Vendor advisories
sinatra: Sinatra has ReDoS vulnerability in ETag header value generation
3scale-amp2/zync-rhel7 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/zync-rhel8 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/zync-rhel9 as a component of Red Hat 3scale API Management Platform 2
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.
Technical details
- Published
- 2025-10-10
Frequently asked questions
What is CVE-2025-61921?
Is CVE-2025-61921 actively exploited?
What is the CVSS score for CVE-2025-61921?
Running sinatra? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.