Read the docs
TI-2024-05595 Aliases CVE-2024-6038GHSA-6w57-8p2p-2r2x

ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt

Priority HIGH 68CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-1333.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00657 51st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gaizhenbiao/chuanhuchatgpt (gaizhenbiao): 20240918

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gaizhenbiaogaizhenbiao/chuanhuchatgptbefore 2024091820240918Patch availableCNA
  • gaizhenbiao/chuanhuchatgpt Vendorgaizhenbiao Affected before 20240918 Fixed in 20240918 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240410:*:*:*:*:*:*:*20240410Vulnerablegaizhenbiao
  • cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240410:*:*:*:*:*:*:* Versions 20240410 Vulnerable ·gaizhenbiao

Remediation

  • Fix · CNA gaizhenbiao/chuanhuchatgpt (gaizhenbiao) Fixed in 20240918

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    gaizhenbiao/chuanhuchatgpt 20240918

    2 records Highest priority Priority HIGH 2 HIGH

    Other records, highest priority first

    • TI-2024-05645 Path Traversal Vulnerability in gaizhenbiao/chuanhuchatgptPriority HIGH 72

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-6038
  2. 2026-10-03 Alias added: GHSA-6w57-8p2p-2r2x
  3. 2026-10-11 EPSS moved to the 50th–90th percentile

References

  • TI-2024-03032 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
  • TI-2024-05543 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
  • TI-2024-05399 Server-Side Request Forgery (SSRF) in gaizhenbiao/ChuanhuChatGPT CVSS 3.1CRITICAL 9.8
  • TI-2024-05802 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
  • TI-2024-05594 Arbitrary Folder Creation in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
  • TI-2024-05593 Denial of Service in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
See all 30 →

Sources