CVE-2024-6038

ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt

HIGH
7.5
CVSS Score
Published: June 27, 2024 at 06:41 PM UTC
Updated: June 17, 2026 at 08:17 AM UTC
1 product affected across 1 vendorChuanhuchatgpt

Using gaizhenbiao/chuanhuchatgpt by gaizhenbiao?

Get instant alerts when new vulnerabilities affect gaizhenbiao/chuanhuchatgpt - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.7%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2024091820240410
Affected range stops below 20240918, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGH@huntr_ai
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-625CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card