CVE-2025-25290octokit request.js
Media 5.3 Sin autenticación
Seguir: esta CVE · octokit · octokit request.js Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 14 feb 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Qué pasa
@octokit/request sends parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node. Starting in version 1.0.0 and prior to versions 9.2.1 and 8.4.1, the regular expression `/<([^>]+)>; rel="deprecation"/` used to match the `link` header in HTTP responses is vulnerable to a ReDoS (Regular Expression Denial of Service) attack. This vulnerability arises due to the unbounded nature of the regex's matching behavior, which can lead to catastrophic backtracking when processing specially crafted input. An attacker could exploit this flaw by sending a malicious `link` header, resulting in excessive CPU usage and potentially causing the server to become unresponsive, impacting service availability. Versions 9.2.1 and 8.4.1 fix the issue.
Qué hacer
- Aplica la actualización de seguridad del fabricante para request.js.
- 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 | @octokit/request |
≥ 9.0.0-beta.1 < 9.2.1 |
9.2.1 |
npm install @octokit/request@9.2.1 |
| npm | @octokit/request |
≥ 1.0.0 < 8.4.1 |
8.4.1 |
npm install @octokit/request@8.4.1 |
Según OSV / GitHub Advisories (GHSA-rmvr-2pp2-xj38). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- octokit · request.js
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.