Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-6038— ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt

Quick assessment

Affected
gaizhenbiao gaizhenbiao/chuanhuchatgpt
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ChuanhuChatGPT是为ChatGPT/ChatGLM/LLaMA/StableLM/MOSS等多种LLM提供了一个轻快好用的Web图形界面。 ChuanhuChatGPT 存在安全漏洞,该漏洞源于keyword 参数缺乏清理或验证,utils.py 模块中的 filter_history 函数中存在拒绝服务漏洞。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.66% · P50

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-6038

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5
Vulnerability Title
ChuanhuChatGPT 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ChuanhuChatGPT是为ChatGPT/ChatGLM/LLaMA/StableLM/MOSS等多种LLM提供了一个轻快好用的Web图形界面。 ChuanhuChatGPT 存在安全漏洞,该漏洞源于keyword 参数缺乏清理或验证,utils.py 模块中的 filter_history 函数中存在拒绝服务漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified ~ 20240918 -

II. Public POCs for CVE-2024-6038

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-6038

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-6038 (1)

Same Patch Batch · gaizhenbiao · 2024-06-27 · 3 CVEs total

CVE-2024-6090 Path Traversal Vulnerability in gaizhenbiao/chuanhuchatgpt
CVE-2024-5822 Server-Side Request Forgery (SSRF) in gaizhenbiao/ChuanhuChatGPT

IV. Related Vulnerabilities

V. Comments for CVE-2024-6038

No comments yet


Leave a comment