Bug 2403178 (CVE-2025-61921) - CVE-2025-61921 sinatra: Sinatra has ReDoS vulnerability in ETag header value generation
Summary: CVE-2025-61921 sinatra: Sinatra has ReDoS vulnerability in ETag header value ...
Keywords:
Status: NEW
Alias: CVE-2025-61921
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-10 20:01 UTC by OSIDB Bzimport
Modified: 2025-12-03 17:34 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-10 20:01:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.