Amenazas en vivo

Todas las CVE / Rubyonrails

CVE-2021-22880Rubyonrails Rails

Alta 7.5 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Rails.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
rubyonrailsrails≥ 4.2.0 < 5.2.4.5
rubyonrailsrails≥ 6.0.0 < 6.0.3.5
rubyonrailsrails≥ 6.1.0 < 6.1.2.1
fedoraprojectfedora32
fedoraprojectfedora33

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.