VDB

CVE-2021-23518

CVE-2021-23518 PUBLISHED CVSS 9.800000190734863 CRITICAL

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

EPSS 1.94% · 79.8th percentile

Risk Scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
1.94%
79.8th percentile

Affected Products

VendorProductVersions
Ubuntu:25.10node-cached-path-relative1.1.0+~1.0.0-3, 0
Ubuntu:18.04:LTSnode-cached-path-relative1.0.1-1, 0
Ubuntu:24.04:LTSnode-cached-path-relative1.1.0+~1.0.0-3, 0
Ubuntu:22.04:LTSnode-cached-path-relative0, 1.1.0+~1.0.0-1, 1.0.2-1
Ubuntu:20.04:LTSnode-cached-path-relative0, 1.0.2-1

Timeline

  • Jan 21, 2022 CVE Published
  • Jan 22, 2022 EPSS Score
  • Mar 17, 2022 EPSS Score
  • May 9, 2022 EPSS Score
  • Aug 25, 2022 EPSS Score
  • Oct 18, 2022 EPSS Score
  • Dec 11, 2022 EPSS Score
  • Feb 2, 2023 EPSS Score
  • Feb 3, 2023 CVE Updated
  • Mar 7, 2023 EPSS Score
  • May 20, 2023 EPSS Score
  • Jul 13, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 50/day Open console ›