CVE-2025-61921

ruby-sinatra: Sinatra is a domain-specific language for creating web applications in Ruby

CVE-2025-61921 is fixed in 3 products on 1 platform, first by ruby-rack-protection 2.0.8.1-2+deb11u1ubuntu0.1~esm1, released October 10, 2025. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0050
42nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
ruby-rack-protection · Ubuntu 22.04.1 LTS (jammy) 2.0.8.1-2+deb11u1ubuntu0.1~esm1 ruby-rack-protection 2.0.8.1-2+deb11u1ubuntu0.1~esm1 Oct 10, 2025
ruby-rack-protection · Ubuntu 26.04.1 LTS (resolute) 4.2.1-1 ruby-rack-protection 4.2.1-1 Oct 10, 2025
ruby-sinatra · Debian 12.15 (bookworm) 3.0.5-3+deb12u1 DEBIAN-CVE-2025-61921 Oct 10, 2025
ruby-sinatra · Debian 14 4.2.1-1 DEBIAN-CVE-2025-61921 Oct 10, 2025
ruby-sinatra · Ubuntu 18.04.6 LTS (bionic) 1.4.8-1ubuntu0.1~esm3 ruby-sinatra 1.4.8-1ubuntu0.1~esm3 Oct 10, 2025
ruby-sinatra · Ubuntu 22.04.1 LTS (jammy) 2.0.8.1-2+deb11u1ubuntu0.1~esm1 ruby-sinatra 2.0.8.1-2+deb11u1ubuntu0.1~esm1 Oct 10, 2025
ruby-sinatra · Ubuntu 26.04.1 LTS (resolute) 4.2.1-1 ruby-sinatra 4.2.1-1 Oct 10, 2025
ruby-sinatra-contrib · Ubuntu 22.04.1 LTS (jammy) 2.0.8.1-2+deb11u1ubuntu0.1~esm1 ruby-sinatra-contrib 2.0.8.1-2+deb11u1ubuntu0.1~esm1 Oct 10, 2025
ruby-sinatra-contrib · Ubuntu 26.04.1 LTS (resolute) 4.2.1-1 ruby-sinatra-contrib 4.2.1-1 Oct 10, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.