{"id":"DHI-7vs2-l5hi-4z3r-luab","summary":"Sinatra is a domain-specific language for creating web applications in Ruby. In versions prior to 4.2.0, there is a…","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-11-20T17:00:28.354199399Z","published":"2026-11-12T00:09:55Z","upstream":["CVE-2025-61921"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-7vs2-l5hi-4z3r-luab"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61921"},{"type":"ADVISORY","url":"https://github.com/sinatra/sinatra/security/advisories/GHSA-mr3q-g2mv-mr4q"},{"type":"FIX","url":"https://github.com/sinatra/sinatra/pull/2121"},{"type":"FIX","url":"https://github.com/sinatra/sinatra/pull/1823"},{"type":"WEB","url":"https://github.com/sinatra/sinatra/issues/2120"},{"type":"WEB","url":"https://bugs.ruby-lang.org/issues/19104"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-61921"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mr3q-g2mv-mr4q"},{"type":"FIX","url":"https://github.com/sinatra/sinatra/commit/8ff496bd4877520599e1479d6efead39304edceb"},{"type":"FIX","url":"https://github.com/sinatra/sinatra/commit/3fe8c38dc405586f7ad8f2ac748aa53e9c3615bd"},{"type":"FIX","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-61921"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-61921"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2025-61921"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2025-61921"}],"affected":[{"package":{"name":"gitlab-exporter","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/gitlab-exporter"},"versions":["16.10.0-1","16.10.0-10","16.10.0-11","16.10.0-12","16.10.0-13","16.10.0-14","16.10.0-15","16.10.0-16","16.10.0-17","16.10.0-18","16.10.0-19","16.10.0-2","16.10.0-20","16.10.0-21","16.10.0-22","16.10.0-23","16.10.0-24","16.10.0-25","16.10.0-26","16.10.0-27","16.10.0-28","16.10.0-29","16.10.0-3","16.10.0-30","16.10.0-31","16.10.0-32","16.10.0-33","16.10.0-34","16.10.0-35","16.10.0-36","16.10.0-37","16.10.0-38","16.10.0-39","16.10.0-4","16.10.0-40","16.10.0-41","16.10.0-42","16.10.0-43","16.10.0-44","16.10.0-45","16.10.0-46","16.10.0-47","16.10.0-48","16.10.0-49","16.10.0-5","16.10.0-50","16.10.0-51","16.10.0-52","16.10.0-6","16.10.0-7","16.10.0-8","16.10.0-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-7vs2-l5hi-4z3r-luab.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}