CVSS 4.0
2.7 lowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:ULow (2.7) in sinatrarb sinatra. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in sinatra 4.2.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hsinatra (RubyGems): fixed in 4.2.0Explain CVE-2025-61921 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61921?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61921?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-61921 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| sinatrarb:sinatra | before 4.2.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mr3q-g2mv-mr4q | RubyGems | sinatra | <4.2.0 | 4.2.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ruby-sinatra | 3.0.5-3+deb12u1 | DEBIAN-CVE-2025-61921 |
| Debian | 13 | ruby-sinatra | no fix listed | DEBIAN-CVE-2025-61921 |
| Debian | 14 | ruby-sinatra | 4.2.1-1 | DEBIAN-CVE-2025-61921 |
| Ubuntu | 26.04:LTS | ruby-sinatra | 4.2.1-1 | UBUNTU-CVE-2025-61921 |
| Ubuntu | Pro:16.04:LTS | ruby-sinatra | 1.4.7-3ubuntu0.1~esm3 | UBUNTU-CVE-2025-61921 |
| Ubuntu | Pro:18.04:LTS | ruby-sinatra | 1.4.8-1ubuntu0.1~esm3 | UBUNTU-CVE-2025-61921 |
| Ubuntu | Pro:22.04:LTS | ruby-sinatra | 2.0.8.1-2+deb11u1ubuntu0.1~esm1 | UBUNTU-CVE-2025-61921 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
This flaw can only be exploited in applications using the etag method to generate a response and if they are using Ruby below version 3.2, limiting the exposure of this issue.
The most likely security impact of this vulnerability is an unexpected amount of time to parse the If-Match and If-None-Match HTTP headers, potentially resulting in a degraded application performance but not completely deny service to legitimate users. Due to this reason, this flaw has been rated with a moderate severity.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/zync | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/zync | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp24/zync | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp25/zync | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp26/zync | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel7 | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel8 | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Will not fix | |
| Red Hat Enterprise Linux 10 | pcs | Not affected | |
| Red Hat Enterprise Linux 7 | pcs | Not affected | |
| Red Hat Enterprise Linux 8 | pcs | Affected | |
| Red Hat Enterprise Linux 9 | pcs | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-61921.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.