CVE-2021-23438
Summary
| CVE | CVE-2021-23438 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-09-01 19:15:00 UTC |
| Updated | 2021-09-10 15:23:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-843
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mpath Project | Mpath | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prototype Pollution in org.webjars.npm:mpath | Snyk | MISC | snyk.io | |
| fix: throw error if `parts` contains an element that isn't a string o… · aheckmann/mpath@89402d2 · GitHub | MISC | github.com | |
| Prototype Pollution in mpath | Snyk | MISC | snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
Legacy QID Mappings
- 981063 Nodejs (npm) Security Update for mpath (GHSA-p92x-r36w-9395)