CVE-2025-61921Sinatrarb Sinatra
Baja 2.7 Sin autenticación
Seguir: esta CVE · Sinatrarb · Sinatrarb Sinatra Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 31
- CVSS 4.0
- 2.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 10 oct 2025
- Actualizada
- 19 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
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
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Sinatra.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | sinatra |
< 4.2.0 |
4.2.0 |
gem "sinatra", ">= 4.2.0" |
Según OSV / GitHub Advisories (GHSA-mr3q-g2mv-mr4q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| sinatrarb | sinatra | < 4.2.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- bugs.ruby-lang.org Issue Tracking
- github.com Issue Tracking
- github.com Exploit Patch
- github.com Patch
- github.com Vendor Advisory