CVE-2021-23438
Prototype Pollution
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
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
CVSS Scores
SSVC
- Decision:-
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
References (3)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1579548 | 2024-09-16 | |
https://snyk.io/vuln/SNYK-JS-MPATH-1577289 | 2024-09-16 |
URL | Date | SRC |
---|---|---|
https://github.com/aheckmann/mpath/commit/89402d2880d4ea3518480a8c9847c541f2d824fc | 2021-09-10 |
URL | Date | SRC |
---|
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
|