Advisory

DEBIAN-CVE-2025-61921

Also known as: CVE-2025-61921

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-10-10 20:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

ruby-sinatra

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.0.5-3+deb12u1 (ecosystem)

Fixed versions

3.0.5-3+deb12u1

Fix

  • Fixed version 3.0.5-3+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby-sinatra

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

ruby-sinatra

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.2.1-1 (ecosystem)

Fixed versions

4.2.1-1

Fix

  • Fixed version 4.2.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences