Amenazas en vivo

Todas las CVE / Momentjs

CVE-2023-22467Momentjs Luxon

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
2.1%
probabilidad de explotación en 30 días · percentil 83
Requiere autenticación
No
Publicada
4 ene 2023
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Qué pasa

Luxon is a library for working with dates and times in JavaScript. On the 1.x branch prior to 1.38.1, the 2.x branch prior to 2.5.2, and the 3.x branch on 3.2.1, Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks. This issue also appears in Moment as CVE-2022-31129. Versions 1.38.1, 2.5.2, and 3.2.1 contain patches for this issue. As a workaround, limit the length of the 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 Luxon.
  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
npm luxon ≥ 1.0.0 < 1.28.1 1.28.1 npm install luxon@1.28.1
npm luxon ≥ 2.0.0 < 2.5.2 2.5.2 npm install luxon@2.5.2
npm luxon ≥ 3.0.0 < 3.2.1 3.2.1 npm install luxon@3.2.1

Según OSV / GitHub Advisories (GHSA-3xq5-wjfh-ppjc). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
momentjsluxon≥ 1.0.0 < 1.28.1
momentjsluxon≥ 2.0.0 < 2.5.2
momentjsluxon≥ 3.0.0 < 3.2.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.