llamaCVEVulnerability Intelligence
/
cached-path-relative

CVE-2021-23518

Prototype Pollution

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.3
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P Fuente: CNA
9.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -2 d de la divulgación
Exposición1.762 dDesde la divulgación, 21 ene 2022, 3:05 p. m.
Detección1.746 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
Verificada
19 ene 22
21 ene 22
16 sept 24
3 nov 26
13 nov 26
19 nov 26
19 ene 22
6 abr 23
20 jun 24
4 sept 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.1.0 cached-path-relative · -2 d desde divulgación
Divulgación Publicada CVE-2021-23518 divulgada · CVSS 7.3 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
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 -2 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
Otrahttps://snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-2342653
Otrahttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2348246
Otrahttps://github.com/ashaffer/cached-path-relative/commit/40c73bf70c58add5aec7d11e4f36b93d144bb760
Otrahttps://lists.debian.org/debian-lts-announce/2022/12/msg00006.html

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