// For flags

CVE-2021-23438

Prototype Pollution

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

2
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Esto afecta al paquete mpath versiones anteriores a 0.8.4. Una vulnerabilidad de confusión de tipo puede conllevar a una omisión de CVE-2018-16490. En concreto, la condición ignoreProperties.indexOf(parts[i]) !== -1 returns -1 if parts[i] is ['__proto__']. Esto es debido a que el método que se ha llamado si la entrada es un array es Array.prototype.indexOf() y no String.prototype.indexOf(). Se comportan de forma diferente según el tipo de entrada

*Credits: Alessio Della Libera of Snyk Research Team
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-01-08 CVE Reserved
  • 2021-09-01 CVE Published
  • 2024-07-24 EPSS Updated
  • 2024-09-16 CVE Updated
  • 2024-09-16 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Mpath Project
Search vendor "Mpath Project"
Mpath
Search vendor "Mpath Project" for product "Mpath"
< 0.8.4
Search vendor "Mpath Project" for product "Mpath" and version " < 0.8.4"
node.js
Affected