CVE-2021-23434
JSON

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 packageVersionsReported by
object-pathfrom unspecified before 0.11.6CVE List
object-path (npm)before 0.11.6GitHub Advisory Database
object-path_project object-pathbefore 0.11.6NVD
debian debian_linux10.0NVD

All scores

snyk5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
NVD7.5high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-23434 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-v39p-96qg-c8rf changed 2025-01-14CC-BY-4.0
NVDCVE-2021-23434 changed 2026-06-17Public domain