CVE-2021-29509Puma
Alta 7.5 Sin autenticación
Seguir: esta CVE · Puma · Puma Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.6% probabilidad de explotación en 30 días · percentil 76
- Requiere autenticación
- No
- Publicada
- 11 may 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
Puma is a concurrent HTTP 1.1 server for Ruby/Rack applications. The fix for CVE-2019-16770 was incomplete. The original fix only protected existing connections that had already been accepted from having their requests starved by greedy persistent-connections saturating all threads in the same process. However, new connections may still be starved by greedy persistent-connections saturating all threads in all processes in the cluster. A `puma` server which received more concurrent `keep-alive` connections than the server had threads in its threadpool would service only a subset of connections, denying service to the unserved connections. This problem has been fixed in `puma` 4.3.8 and 5.3.1. Setting `queue_requests false` also fixes the issue. This is not advised when using `puma` without a reverse proxy, such as `nginx` or `apache`, because you will open yourself to slow client attacks (e.g. slowloris). The fix is very small and a git patch is available for those using unsupported versions of Puma.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Puma.
- 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 | puma |
< 4.3.8 |
4.3.8 |
gem "puma", ">= 4.3.8" |
| RubyGems | puma |
≥ 5.0.0 < 5.3.1 |
5.3.1 |
gem "puma", ">= 5.3.1" |
Según OSV / GitHub Advisories (GHSA-q28m-8xjw-8vr5). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| puma | puma | < 4.3.8 |
| puma | puma | ≥ 5.0.0 < 5.3.1 |
| debian | debian_linux | 10.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- gist.github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- rubygems.org Product Third Party Advisory
- security.gentoo.org Third Party Advisory