Sinatra has ReDoS vulnerability in ETag header value generation
概要
Sinatra has ReDoS vulnerability in ETag header value generation
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Debian DEBIAN-CVE-2025-61921 ruby-sinatra
- Ubuntu UBUNTU-CVE-2025-61921 ruby-sinatra 修正版: 1.4.7-3ubuntu0.1~esm3
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- report github.com
- web bugs.ruby-lang.org