- Accueil
- Vulnérabilités
- CVE-2021-23518
CVE-2021-23518
The package cached-path-relative before 1.1.0 are vulnerable to Prototype Pollution via the cache variable…
Résumé
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
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Cached-path-relative project (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Cached-path-relative | avant 1.1.0 (exclu) |
— | NVD |
Debian (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Debian linux | 10.0 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/ashaffer/cached-path-relative/commit/40c73bf70c58add5aec7d11e4f36b93d144bb760Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2348246Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-2342653Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00006.htmlMailing List, Third Party Advisory
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-1321 · Autre (CWE-1321)