CVE-2021-23438: mpath_project mpath Type Confusion
Vulnerability summary
CVE-2021-23438 is a critical (CVSS 9.8) Type Confusion vulnerability in mpath_project mpath. EPSS estimates a 1.72% chance of exploitation in the next 30 days, higher than 77.1% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 01-09-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CDiffers
- OSV · NpmEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
1.72%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.72% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Mpath_project1 product
- mpath< 0.8.4
Npm1 product
- mpath< 0.8.4
2 vendors · 2 products
References
6 links- github.com/aheckmann/mpath/commit/89402d2880d4ea3518480a8c9847c541f2d824fcX Refsource MISCWEBPatchThird Party Advisory
- github.com/aheckmann/mpathPACKAGE