Resource exhaustion in get-func-name - CVE-2023-43646

 

Resource exhaustion in get-func-name - CVE-2023-43646

Published: November 17, 2023


Vulnerability identifier: #VU83242
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-43646
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Chai.js Assertion Library
Affected software:
get-func-name

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources when parsing malicious input. A remote attacker can trigger resource exhaustion when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly, and perform a denial of service (DoS) attack.


How to mitigate CVE-2023-43646

Install update from vendor's website.

Sources