Prototype pollution in mpath
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-843 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | mpath | before 0.8.4 | 0.8.4 | Patch available | CNA |
| — | mpath (npm) | before 0.8.4 | 0.8.4 | Patch available | GHSA-p92x-r36w-9395 |
- mpath Vendor— Affected before 0.8.4 Fixed in 0.8.4 Patch available CNA
- mpath (npm) Vendor— Affected before 0.8.4 Fixed in 0.8.4 Patch available GHSA-p92x-r36w-9395
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mpath_project:mpath:*:*:*:*:*:node.js:*:* | before 0.8.4 | Vulnerable | Mpath Project |
- cpe:2.3:a:mpath_project:mpath:*:*:*:*:*:node.js:*:* Versions before 0.8.4 Vulnerable ·Mpath Project
Remediation
- Fix · CNA mpath Fixed in 0.8.4
- Fix · GHSA-p92x-r36w-9395 mpath (npm) Fixed in 0.8.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Advanced Cluster Management for Kubernetes 2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23438
- 2026-10-03 Alias added: GHSA-p92x-r36w-9395
References
More Mpath Project Mpath vulnerabilities
- TI-2018-11831 Uncontrolled resource consumption in HackerOne mpath CVSS 3.0HIGH 7.5
Sources
- CVE-2021-23438 · CVE Program
- CVE-2021-23438 · NVD
- FIRST EPSS
- GHSA-p92x-r36w-9395 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-23438 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences