{"id":"CVE-2021-23438","published":"2021-09-01T18:20:11Z","modified":"2024-09-16T17:52:46Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package mpath before 0.8.4. A type confusion vulnerability can lead to a bypass of CVE-2018-16490. In particular, the condition ignoreProperties.indexOf(parts[i]) !== -1 returns -1 if parts[i] is ['__proto__']. This is because the method that has been called if the input is an array is Array.prototype.indexOf() and not String.prototype.indexOf(). They behave differently depending on the type of the input.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01723,"percentile":0.77418,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MPATH-1577289","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1579548","tags":["x_refsource_MISC"]},{"url":"https://github.com/aheckmann/mpath/commit/89402d2880d4ea3518480a8c9847c541f2d824fc","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":15.48},{"name":"CVSS severity","points":3.92}]},"affectedVersions":[{"vendor":"n/a","product":"mpath","versions":[">= unspecified, < 0.8.4"]}],"affected":[{"ecosystem":"npm","package":"mpath","vulnerableRanges":["<0.8.4"],"patched":["0.8.4"],"from":["GHSA-p92x-r36w-9395"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2096","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hackerone-mpath-cve-2018-16490","parents":[{"from":"CVE-2018-16490","to":"CVE-2021-23438","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"A type confusion vulnerability can lead to a bypass of CVE-2018-16490.","from":"CVE.org","in":"CVE-2021-23438"}]}]}}