llamaCVEVulnerability Intelligence
/
https://github.com/rails/rails

CVE-2021-22880

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

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: NVD
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos11 fuente
Parche3 versiones5.2.4.5 · 6.0.3.5 · 6.1.2.1
Exposición2.106 dDesde la divulgación, 11 feb 2021, 11:11 a. m.
Detección2.090 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
Verificada
11 feb 21
3 ago 24
3 nov 26
13 nov 26
19 nov 26
11 feb 21
23 jul 22
1 ene 24
10 jun 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-22880 divulgada · CVSS 7.5 (NVD)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
activerecord≥ 5.0.0 < 5.2.4.5
activerecord≥ 6.0.0 < 6.0.3.5
activerecord≥ 6.1.0 < 6.1.2.1
5.0.0
5.2.4.5
6.0.0
6.0.3.5
6.1.0
6.1.2.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
https://github.com/rails/rails
Corregida 5.2.4.5, 6.0.3.5, 6.1.2.1 — —
Versiones corregidas5.2.4.56.0.3.56.1.2.1
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
halkichi0308/CVE-2021-22880
1
Ver los 1 repositorios de GitHub
halkichi0308/CVE-2021-22880

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3NS4IBYE2I3MVMGAHFZBZBIZGHXHT3/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO5OJ3F4ZL3UXVLJO6ECANRVZBNRS2IH/
Advisoryhttps://www.debian.org/security/2021/dsa-4929
Exploithttps://github.com/halkichi0308/CVE-2021-22880
Otrahttps://hackerone.com/reports/1023899
Otrahttps://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-record-postgresql-adapter/77129
Otrahttps://security.netapp.com/advisory/ntap-20210805-0009/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.