CVE-2025-61921

LOW CVSS 4.0: 2.7 EPSS 0.50%
Updated Oct 19, 2026
Sinatrarb
Parameter Value
CVSS 2.7 (LOW)
Affected Versions before 4.2.0
Fixed In 4.2.0
Type CWE-1333 (Inefficient Regular Expression Complexity / ReDoS)
Vendor Sinatrarb
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Sinatrarb Sinatra
cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*
— 4.2.0