Amenazas en vivo

Todas las CVE / Cached-path-relative Project

CVE-2021-23518Cached-path-relative Project Cached-path-relative

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
2.0%
probabilidad de explotación en 30 días · percentil 81
Requiere autenticación
No
Publicada
21 ene 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-1321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

The package cached-path-relative before 1.1.0 are vulnerable to Prototype Pollution via the cache variable that is set as {} instead of Object.create(null) in the cachedPathRelative function, which allows access to the parent prototype properties when the object is used to create the cached relative path. When using the origin path as __proto__, the attribute of the object is accessed instead of a path. **Note:** This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-72573

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 Cached-path-relative.
  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 cached-path-relative < 1.1.0 1.1.0 npm install cached-path-relative@1.1.0

Según OSV / GitHub Advisories (GHSA-wg6g-ppvx-927h). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
cached-path-relative_projectcached-path-relative< 1.1.0
debiandebian_linux10.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.