{"url":"http://public2.vulnerablecode.io/api/packages/102857?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.2.1-1?distro=trixie","type":"deb","namespace":"debian","name":"ruby-sinatra","version":"4.2.1-1","qualifiers":{"distro":"trixie"},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"4.2.1-3","latest_non_vulnerable_version":"4.2.1-3","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/127805?format=json","vulnerability_id":"VCID-bnc4-apdt-2kcq","summary":"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.","references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-61921.json","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-61921.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-61921","reference_id":"","reference_type":"","scores":[{"value":"0.00521","scoring_system":"epss","scoring_elements":"0.6728","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-61921"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61921","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61921"},{"reference_url":"https://github.com/sinatra/sinatra/commit/3fe8c38dc405586f7ad8f2ac748aa53e9c3615bd","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sinatra/sinatra/commit/3fe8c38dc405586f7ad8f2ac748aa53e9c3615bd"},{"reference_url":"https://github.com/sinatra/sinatra/commit/8ff496bd4877520599e1479d6efead39304edceb","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sinatra/sinatra/commit/8ff496bd4877520599e1479d6efead39304edceb"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118290","reference_id":"1118290","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118290"},{"reference_url":"https://github.com/sinatra/sinatra/pull/1823","reference_id":"1823","reference_type":"","scores":[{"value":"2.7","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-10T20:54:24Z/"}],"url":"https://github.com/sinatra/sinatra/pull/1823"},{"reference_url":"https://bugs.ruby-lang.org/issues/19104","reference_id":"19104","reference_type":"","scores":[{"value":"2.7","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-10T20:54:24Z/"}],"url":"https://bugs.ruby-lang.org/issues/19104"},{"reference_url":"https://github.com/sinatra/sinatra/issues/2120","reference_id":"2120","reference_type":"","scores":[{"value":"2.7","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-10T20:54:24Z/"}],"url":"https://github.com/sinatra/sinatra/issues/2120"},{"reference_url":"https://github.com/sinatra/sinatra/pull/2121","reference_id":"2121","reference_type":"","scores":[{"value":"2.7","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-10T20:54:24Z/"}],"url":"https://github.com/sinatra/sinatra/pull/2121"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2403178","reference_id":"2403178","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2403178"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61921","reference_id":"CVE-2025-61921","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61921"},{"reference_url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml","reference_id":"CVE-2025-61921.YML","reference_type":"","scores":[],"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml"},{"reference_url":"https://github.com/advisories/GHSA-mr3q-g2mv-mr4q","reference_id":"GHSA-mr3q-g2mv-mr4q","reference_type":"","scores":[{"value":"LOW","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-mr3q-g2mv-mr4q"},{"reference_url":"https://github.com/sinatra/sinatra/security/advisories/GHSA-mr3q-g2mv-mr4q","reference_id":"GHSA-mr3q-g2mv-mr4q","reference_type":"","scores":[{"value":"LOW","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"2.7","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-10T20:54:24Z/"}],"url":"https://github.com/sinatra/sinatra/security/advisories/GHSA-mr3q-g2mv-mr4q"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/102848?format=json","purl":"pkg:deb/debian/ruby-sinatra@3.0.5-3%2Bdeb12u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-p4dg-33re-63bp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@3.0.5-3%252Bdeb12u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102857?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.2.1-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.2.1-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102851?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.2.1-3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.2.1-3%3Fdistro=trixie"}],"aliases":["CVE-2025-61921","GHSA-mr3q-g2mv-mr4q"],"risk_score":1.4,"exploitability":"0.5","weighted_severity":"2.7","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-bnc4-apdt-2kcq"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.2.1-1%3Fdistro=trixie"}