Every CVE Search/ Get API key

CVE-2021-23434

Prototype Pollution

5.6 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

1.90%Up 0.9 points since Aug 28, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.6

Prototype Pollution

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.

Record
CVE-2021-23434
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
EUVDEUVD-2021-2112 5.6

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.

Record
EUVD-2021-2112
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-v39p-96qg-c8rf 5.6

Prototype Pollution in object-path

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.

Record
GHSA-v39p-96qg-c8rf
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-843, CWE-1321
Updated
2026-11-02
NVD 5.6

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.

Record
CVE-2021-23434
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
8.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-843
Updated
2026-11-02
OSV 8.6

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.

Record
CVE-2021-23434
CVSS 3.1
8.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-23434 8.6

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.

Record
DEBIAN-CVE-2021-23434
CVSS 3.1
8.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-v39p-96qg-c8rf 5.6

Prototype Pollution in object-path

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.

Record
GHSA-v39p-96qg-c8rf
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-1321, CWE-843
Updated
2026-11-02
OSVUBUNTU-CVE-2021-23434 5.6

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.

Record
UBUNTU-CVE-2021-23434
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
8.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVCLSA-2026-1774830277 No score

TuxCare security update for object-path (3 CVEs)

TuxCare rebuilt object-path to address 3 CVEs. Fixed in 0.11.4-tuxcare.1.

Record
CLSA-2026-1774830277
Updated
2026-11-02
OSVUSN-5967-1 No score

node-object-path vulnerabilities

It was discovered that the set() method in object-path could be corrupted as a result of prototype pollution by sending a message to the parent process. An attacker could use this issue to cause object-path to crash. (CVE-2020-15256, CVE-2021-23434, CVE-2021-3805)

Record
USN-5967-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
object-path
npm
before 0.11.6
0.11.6
object-path
TuxCare:npm
From an advisory covering 3 CVEs
0.11.4-tuxcare.0 up to 0.11.4-tuxcare.1, plus listed versions
0.11.4
0.11.4-tuxcare.1
node-object-path
Debian:12
before 0.11.7-1
0.11.7-1
node-object-path
Debian:13
before 0.11.7-1
0.11.7-1
node-object-path
Debian:14
before 0.11.7-1
0.11.7-1
node-object-path
Debian:10
From an advisory covering 2 CVEs
before 0.11.4-2+deb10u2, plus listed versions
0.11.4-20.11.4-2+deb10u1
0.11.4-2+deb10u2
node-object-path
Ubuntu:18.04:LTS
before 0.11.3-1ubuntu0.1, plus listed versions
0.11.3-1
0.11.3-1ubuntu0.1
node-object-path
Ubuntu:20.04:LTS
before 0.11.4-2ubuntu0.1, plus listed versions
0.11.4-2
0.11.4-2ubuntu0.1
node-object-path
Ubuntu:24.04:LTS
All versions, plus listed versions
0.11.8+~0.11.1-2
None known
node-object-path
Ubuntu:25.10
All versions, plus listed versions
0.11.8+~0.11.1-2
None known
Show 4 moreShow less
Affected packages
PackageAffectedFixed
node-object-path
Ubuntu:26.10
All versions, plus listed versions
0.11.8+~0.11.4-1
None known
node-object-path
Ubuntu:26.04:LTS
All versions, plus listed versions
0.11.8+~0.11.1-20.11.8+~0.11.4-1
None known
node-object-path
Ubuntu:18.04:LTS
From an advisory covering 3 CVEs
before 0.11.3-1ubuntu0.1, plus listed versions
0.11.3-1
0.11.3-1ubuntu0.1
node-object-path
Ubuntu:20.04:LTS
From an advisory covering 3 CVEs
before 0.11.4-2ubuntu0.1, plus listed versions
0.11.4-2
0.11.4-2ubuntu0.1

History

History
RecordedChangedSources
affected, facts
aliases, products, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-23434 is a medium vulnerability (CVSS 5.6) in Mariocasciaro Object-path, published August 27, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.90%, the 79th percentile. Fixed in object-path 0.11.6.

References

Show 8 moreShow less
MoveEnter Open