中危 get-func-name 中正则表达式复杂性低下 (CVE-2023-43646)
CVE编号
CVE-2023-43646利用情况
暂无补丁情况
官方补丁披露时间
2023-09-20漏洞描述
get-func-name is a module to retrieve a functions 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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05... | |
https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | chaijs | get-func-name | * | Up to (excluding) 2.0.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | node-get-func-name | * | Up to (including) 2.0.0+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | node-get-func-name | * | Up to (including) 2.0.0+dfsg-1.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | node-get-func-name | * | Up to (including) 2.0.0+dfsg-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | node-get-func-name | * | Up to (including) 2.0.0+dfsg-2 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-1333 | Inefficient Regular Expression Complexity |
CWE-400 | 未加控制的资源消耗(资源穷尽) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论