CVE-2025-61921

unknown
Published 2025-10-10 · Modified 2026-02-04
CVSS v3
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-61921

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3.0.5-3+deb12u1
debian debianbullseyeaffected
debian debianforkyfixed4.2.1-1
debian debiansidfixed4.2.1-1
debian debiantrixieaffected

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemssinatra<>= 4.2.0>= 4.2.0
ruby RubyGemssinatra<4.2.04.2.0

References

Verify integrity in audit chain (admin only). AS-IS.