CVE-2021-23518

Prototype Pollution

High · published January 21, 2022

CVSS v3.1
7.3
EPSS
2%
Percentile
80.0
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
CVSS v4.0
Not supplied
EPSS
0.01943 · 80.0th percentile
Published
2022-01-21T20:05Z
EPSS history
Timeline
  • 21 JAN 20:05Z
    Prototype Pollution
    cvelistv5