7.5
CVSSv2

CVE-2021-23518

Published: 21/01/2022 Updated: 03/02/2023
CVSS v2 Base Score: 7.5 | Impact Score: 6.4 | Exploitability Score: 10
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 668
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Summary

The package cached-path-relative prior to 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 security.snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-72573

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

cached-path-relative project cached-path-relative

debian debian linux 10.0

Vendor Advisories

Debian Bug report logs - #1004338 node-cached-path-relative: CVE-2021-23518 - prototype pollution Package: src:node-cached-path-relative; Maintainer for src:node-cached-path-relative is Debian Javascript Maintainers <pkg-javascript-devel@listsaliothdebianorg>; Reported by: Neil Williams <codehelp@debianorg> Date: ...
The package cached-path-relative before 110 are vulnerable to Prototype Pollution via the cache variable that is set as {} instead of Objectcreate(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__, th ...