VULNERABILITY INTELLIGENCE
CVE-2021-23438
CVSS score5.6 MEDIUM
EPSS probability1.72%
CISA KEVNot currently listed
Published2021-09-01
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Description
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.
Weakness classification
- nvd@nist.gov: CWE-843
Primary references
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Exploit, Third Party Advisory
- report@snyk.io — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory