Vulnerability
CVE-2025-61921
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.
83 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-289h-hj5f-cp98
- CGA-2pxh-wf9v-4fp5
- CGA-3h62-78rr-w75v
- CGA-3r3x-xw77-6893
- CGA-3v7m-m5v4-2j8v
- CGA-525x-4cm4-2fr2
- CGA-5jxv-7m52-h438
- CGA-5pg9-pjgh-6vgj
- CGA-5wpp-226v-xr35
- CGA-656c-cjmj-qqgq
- CGA-6g2j-hx2g-vqq5
- CGA-6jf5-33q7-hmh5
- CGA-754p-2723-682q
- CGA-759v-7xfh-wgv6
- CGA-7677-p2gv-8w54
- CGA-7m64-r5pw-78rg
- CGA-7p37-jj6j-wfv2
- CGA-868r-c6cg-9388
- CGA-887m-7f4h-v5g4
- CGA-8922-pvwq-93h9
- CGA-89g8-4992-8pr2
- CGA-93x2-428j-jm9h
- CGA-972v-j928-p2x4
- CGA-9c62-6798-c4qr
- CGA-9f63-vwvg-jcxp
- CGA-9gxg-m4gc-7qjw
- CGA-9mf4-97ff-425p
- CGA-9r2r-hvqc-jcgm
- CGA-9rmf-j94q-5c9f
- CGA-c2gh-h8gg-rp69
- CGA-c2jg-qvwg-w82f
- CGA-chq8-wg58-qq64
- CGA-cwfx-vq5v-8gcx
- CGA-ffww-w3qw-28x4
- CGA-fg66-2f63-j83m
- CGA-fj7x-89gq-q2qg
- CGA-fwhf-9h8h-cp27
- CGA-g9p8-cwf3-9w7p
- CGA-gqfj-x3hh-f5xg
- CGA-gw4q-x7qx-r3v5
- CGA-h2j6-c9rr-m9r8
- CGA-h693-28gm-hrw6
- CGA-h6jc-jxr3-q3fr
- CGA-hvpg-83cj-m8fx
- CGA-j3gp-p269-g93q
- CGA-j3rp-q3x9-xvhc
- CGA-j85p-gp2g-ggrq
- CGA-jm4h-9xwr-25pv
- CGA-m766-rx3x-gc22
- CGA-m836-grj8-m94w
- CGA-mmx9-6599-hwh5
- CGA-mrm5-6gc5-h8vj
- CGA-p2qg-rvcp-f3rg
- CGA-q22v-9xfj-f8pf
- CGA-q57w-83x5-8x64
- CGA-q8hf-48m5-9cg9
- CGA-qf3g-ggxr-9wp7
- CGA-qgc8-pjph-7269
- CGA-qr9g-x3xv-jxp9
- CGA-qw2j-35pf-gw67
- CGA-r3xm-3fjg-pq87
- CGA-r556-r4jf-g5h8
- CGA-rgf9-2wm7-pv99
- CGA-rjx6-c6h7-jx5p
- CGA-rw5p-9mx9-mpqr
- CGA-rx4q-c2w3-fwf5
- CGA-rxgv-fxx5-mp2c
- CGA-v462-5mvw-ccp7
- CGA-v7j3-r7jx-2c9p
- CGA-v9vw-2q83-gwvw
- CGA-w6vg-j37c-63p7
- CGA-w94r-crr4-v4x4
- CGA-wfgx-wj22-wgqc
- CGA-wmmf-9hjq-vhg7
- CGA-wqwr-2gjw-wc2m
- CGA-x4vg-4rr8-gx73
- CGA-xcc9-h4gv-4372
- CGA-xm3v-mr36-7gwp
-
DEBIAN-CVE-2025-61921
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…
-
GHSA-mr3q-g2mv-mr4q
Sinatra is vulnerable to ReDoS through ETag header value generation
-
RHVEX-CVE-2025-61921
sinatra: Sinatra has ReDoS vulnerability in ETag header value generation
-
UBUNTU-CVE-2025-61921
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…
-
USN-8624-1
ruby-sinatra vulnerability