Todas las CVE / Cached-path-relative Project
CVE-2021-23518Cached-path-relative Project Cached-path-relative
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Cached-path-relative Project · Cached-path-relative Project Cached-path-relative Te avisamos por email o Slack (requiere cuenta).
- 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
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cached-path-relative.
- 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 | 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| cached-path-relative_project | cached-path-relative | < 1.1.0 |
| debian | debian_linux | 10.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- snyk.io Exploit Issue Tracking Patch
- snyk.io Exploit Issue Tracking Patch