CVE-2024-6038 - CVE House
Back to Database
Status published High CVE-2024-6038

ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-6038

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

gaizhenbiao

View all reports →

Affected Software

gaizhenbiao/chuanhuchatgpt
Vulnerable Versions:
unspecified

Timeline

Official Publish: June 27th, 2024
Last Modified: October 15th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)