5.6medium
Prototype Pollution
- Severity
- 5.6medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.90% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-v39p-96qg-c8rf
Description
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| object-path | from unspecified before 0.11.6 | CVE List |
| object-path (npm) | before 0.11.6 | GitHub Advisory Database |
| object-path_project object-path | before 0.11.6 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| snyk | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.
GitHub Advisory Database
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.
NVD (es)
Esto afecta al paquete object-path versiones anteriores a 0.11.6. Una vulnerabilidad de confusión de tipo puede conllevar a una omisión de CVE-2020-15256 cuando los componentes de la ruta usados en el parámetro path son arrays. En particular, la condición currentPath === "__proto__" devuelve false si currentPath es ["__proto__"]. Esto se debe a que el operador === devuelve siempre falso cuando el tipo de los operandos es diferente.
References
| https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423 | exploit, third-party-advisory, web | |
| https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb | patch, third-party-advisory, web | |
| https://github.com/mariocasciaro/object-path%230116 | broken-link, web | |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00031.html | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23434 | advisory | |
| https://github.com/mariocasciaro/object-path | package | |
| https://github.com/mariocasciaro/object-path#0116 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23434 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v39p-96qg-c8rf changed 2025-01-14 | CC-BY-4.0 |
| NVD | CVE-2021-23434 changed 2026-06-17 | Public domain |