Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-61921
VULNERABILITY

CVE-2025-61921

Common Vulnerabilities and Exposures record

LOW

Summary

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.

Risk

CVSS
2.7
Severity
LOW
Vector
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:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Oct 10, 2025 20:15
Modified
Oct 19, 2026 16:10
Last observed
Oct 20, 2026 19:28

CWE

CWE-1333

Affected product identifiers

cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*

References