CVE-2021-23438 Prototype Pollution
CriticalCVSS 9.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mpath project mpath | < 0.8.4 | 0.8.4 | Fixed |
| npm mpath(npm) | < 0.8.4 | 0.8.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mpath(npm) | < 0.8.4 | 0.8.4 |
| mpath project mpath | < 0.8.4 | 0.8.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io exploit third-party-advisory
- snyk.io exploit third-party-advisory
- github.com patch
- github.com
- github.com product