{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2021-23518","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","assignerShortName":"snyk","datePublished":"2022-01-21T20:05:29.374Z","dateUpdated":"2024-09-16T18:33:30.300Z","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Prototype Pollution","datePublic":"2022-01-21T00:00:00.000Z","providerMetadata":{"orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk","dateUpdated":"2022-12-05T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"cached-path-relative","versions":[{"version":"unspecified","lessThan":"1.1.0","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-2342653"},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2348246"},{"url":"https://github.com/ashaffer/cached-path-relative/commit/40c73bf70c58add5aec7d11e4f36b93d144bb760"},{"name":"[debian-lts-announce] 20221204 [SECURITY] [DLA 3221-1] node-cached-path-relative security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00006.html"}],"credits":[{"lang":"en","value":"P.Adithya Srinivas"},{"lang":"en","value":"Masudul Hasan Masud Bhuiyan"},{"lang":"en","value":"Cristian-Alexandru Staicu"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","baseScore":7.3,"temporalScore":6.9,"baseSeverity":"HIGH","temporalSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Prototype Pollution"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T19:14:08.568Z"},"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-2342653","tags":["x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2348246","tags":["x_transferred"]},{"url":"https://github.com/ashaffer/cached-path-relative/commit/40c73bf70c58add5aec7d11e4f36b93d144bb760","tags":["x_transferred"]},{"name":"[debian-lts-announce] 20221204 [SECURITY] [DLA 3221-1] node-cached-path-relative security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00006.html"}]}]}}