gaizhenbiao/chuanhuchatgpt 中的 ReDoS 漏洞 (CVE-2024-6038)

admin 2024-06-30 22:37:10 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
gaizhenbiao/chuanhuchatgpt 中的 ReDoS 漏洞 (CVE-2024-6038)

CVE编号

CVE-2024-6038

利用情况

暂无

补丁情况

N/A

披露时间

2024-06-28
漏洞描述
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability is located in the filter_history function within the utils.py module. This function takes a user-provided keyword and attempts to match it against chat history filenames using a regular expression search. Due to the lack of sanitization or validation of the keyword parameter, an attacker can inject a specially crafted regular expression, leading to a denial of service condition. This can cause severe degradation of service performance and potential system unavailability.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://huntr.com/bounties/d41cca0a-82bc-4cbf-a52a-928d304fb42d
CVSS3评分 7.5
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 无
  • 完整性 无
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-ID 漏洞类型
CWE-625 宽松定义的正则表达式
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0