CVE-2021-23438

Prototype Pollution

Published Sep 1, 2021 CVSS 3.1 · 5.6 Medium EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2096 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.
Github GHSA Github GHSA GHSA-p92x-r36w-9395 Type confusion in mpath
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 5:52 PM
Reserved
Jan 8, 2021, 12:00 AM
Status
Modified
Published
Sep 1, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:38 AM
Severity
Moderate
Public date
Sep 1, 2021, 12:00 AM