Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:44145
HistoryNov 06, 2023 - 6:13 a.m.

Prototype Pollution

2023-11-0606:13:57
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
1
vulnerability
@clickbar/dot-diver
getbypath
setbypath
index.ts
validation
object type
remote code execution

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.6

Confidence

High

EPSS

0.003

Percentile

68.4%

@clickbar/dot-diver is vulnerable to Prototype Pollution. The vulnerability is due to the getByPath and setByPath functions in index.ts not properly validating the type of the object being passed. This allows an attacker to potentially modify attributes like __proto__, constructor, and prototype by injecting a maliciously crafted object, which can ultimately lead to remote code execution.

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.6

Confidence

High

EPSS

0.003

Percentile

68.4%