CVE-2021-22880Rubyonrails Rails
Alta 7.5 Sin autenticación
Seguir: esta CVE · Rubyonrails · Rubyonrails Rails Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 4.5% probabilidad de explotación en 30 días · percentil 92
- Requiere autenticación
- No
- Publicada
- 11 feb 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Rails.
- 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 | activerecord |
≥ 5.0.0 < 5.2.4.5 |
5.2.4.5 |
gem "activerecord", ">= 5.2.4.5" |
| RubyGems | activerecord |
≥ 6.0.0 < 6.0.3.5 |
6.0.3.5 |
gem "activerecord", ">= 6.0.3.5" |
| RubyGems | activerecord |
≥ 6.1.0 < 6.1.2.1 |
6.1.2.1 |
gem "activerecord", ">= 6.1.2.1" |
Según OSV / GitHub Advisories (GHSA-8hc4-xxm3-5ppp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rubyonrails | rails | ≥ 4.2.0 < 5.2.4.5 |
| rubyonrails | rails | ≥ 6.0.0 < 6.0.3.5 |
| rubyonrails | rails | ≥ 6.1.0 < 6.1.2.1 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- discuss.rubyonrails.org Mitigation Patch Vendor Advisory
- hackerone.com Exploit Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory