NVD Vulnerability Detail
Search Exploit, PoC
CVE-2023-43646
Summary

get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial of service when parsing malicious input. This vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input: '\t'.repeat(54773) + '\t/function/i'. This issue has been addressed in commit `f934b228b` which has been included in releases from 2.0.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publication Date Sept. 28, 2023, 12:19 a.m.
Registration Date Sept. 28, 2023, 10:01 a.m.
Last Update Nov. 21, 2024, 5:24 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:chaijs:get-func-name:*:*:*:*:*:node.js:*:* 2.0.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
chaijs の Node.js 用 get-func-name における非効率的な正規表現の複雑さに関する脆弱性
Title chaijs の Node.js 用 get-func-name における非効率的な正規表現の複雑さに関する脆弱性
Summary

chaijs の Node.js 用 get-func-name には、非効率的な正規表現の複雑さに関する脆弱性、リソースの枯渇に関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Sept. 27, 2023, midnight
Registration Date Dec. 21, 2023, 11:44 a.m.
Last Update Dec. 21, 2023, 11:44 a.m.
Affected System
chaijs
get-func-name 2.0.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2023年12月21日]
  掲載
Dec. 21, 2023, 11:44 a.m.