CVE-2023-22467Momentjs Luxon
Alta 7.5 Sin autenticación
Seguir: esta CVE · Momentjs · Momentjs Luxon Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Luxon.
- 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 |
|---|---|---|---|---|
| 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| momentjs | luxon | ≥ 1.0.0 < 1.28.1 |
| momentjs | luxon | ≥ 2.0.0 < 2.5.2 |
| momentjs | luxon | ≥ 3.0.0 < 3.2.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Not Applicable Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org