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


Vulnerability identifier: #VU83242

Vulnerability risk: Medium

CVSSv4.0: 6.6 [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: Network

Exploit availability: No

Vulnerable software:
get-func-name
Web applications / Other software

Vendor: Chai.js Assertion Library

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

get-func-name: 2.0.0


External links
https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69
https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability