CVE-2021-23438

published 1 Sep 2021 · updated 16 Sep 2024

Prototype Pollution

5.6MediumCVSS 5.6EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 0.8.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<0.8.40.8.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-23438 severity on Zeptric[![CVE-2021-23438](https://zeptric.io/badge/cve/CVE-2021-23438.svg)](https://zeptric.io/cve/CVE-2021-23438)