CVE-2021-23518 - CVE House
Back to Database
Status published High CVE-2021-23518

Prototype Pollution

Vulnerability Description

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-23518

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • P.Adithya Srinivas
  • Masudul Hasan Masud Bhuiyan
  • Cristian-Alexandru Staicu

Affected Vendor

Affected Software

cached-path-relative
Vulnerable Versions:
unspecified

Timeline

Official Publish: January 21st, 2022
Last Modified: September 16th, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.