{"id":"DEBIAN-CVE-2025-61921","details":"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.","modified":"2026-09-01T20:05:55.555895477Z","published":"2025-10-10T20:15:38.067Z","upstream":["CVE-2025-61921"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-61921"}],"affected":[{"package":{"name":"ruby-sinatra","ecosystem":"Debian:12","purl":"pkg:deb/debian/ruby-sinatra?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.5-3+deb12u1"}]}],"versions":["3.0.5-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-61921.json"}},{"package":{"name":"ruby-sinatra","ecosystem":"Debian:13","purl":"pkg:deb/debian/ruby-sinatra?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.1-5","4.1.1-6","4.2.1-1","4.2.1-2","4.2.1-3","4.2.1-4","4.2.1-5"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-61921.json"}},{"package":{"name":"ruby-sinatra","ecosystem":"Debian:14","purl":"pkg:deb/debian/ruby-sinatra?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-1"}]}],"versions":["4.1.1-5","4.1.1-6"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-61921.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}