CVE-2021-23438: Prototype Pollution
Vulnerability summary
CVE-2021-23438 is a critical (CVSS 9.8) vulnerability in mpath_project mpath. EPSS estimates a 1.72% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities. 2 public exploits are recorded.
Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
78%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.72% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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