llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · cached-path-relative

GHSA-WG6G-PPVX-927H

Prototype Pollution in cached-path-relative

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -8 d de la divulgación
Exposición1.758 dDesde la divulgación, 27 ene 2022, 9:27 a. m.
Detección1.754 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 1.1.0
Monitoreo
Detectada
19 ene 22
27 ene 22
14 ene 25
17 nov 26
20 nov 26
19 ene 22
6 abr 23
20 jun 24
5 sept 25
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.1.0 cached-path-relative · -8 d desde divulgación
Divulgación Publicada GHSA-WG6G-PPVX-927H divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

The package cached-path-relative before 1.1.0 is 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

Versiones

Rangos afectados

Afectada Corregida Última
cached-path-relative< 1.1.0
1.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmcached-path-relative
Corregida 1.1.0 -8 d 1.1.0 no afectada
Versiones corregidas1.1.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-23518
Otrahttps://github.com/ashaffer/cached-path-relative/commit/40c73bf70c58add5aec7d11e4f36b93d144bb760
Otrahttps://github.com/ashaffer/cached-path-relative
Otrahttps://lists.debian.org/debian-lts-announce/2022/12/msg00006.html
Otrahttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2348246
Otrahttps://snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-2342653

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.