{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-6038","published":"2024-06-27T19:15:19.040000Z","last_modified":"2026-06-17T08:17:09.450000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"security@huntr.dev","primary":false},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240410:*:*:*:*:*:*:*","part":"a","vendor":"gaizhenbiao","product":"chuanhuchatgpt","version":"20240410"}],"cpes_truncated":false,"vendors":["gaizhenbiao"],"products":["gaizhenbiao/chuanhuchatgpt"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.00898,"percentile":0.57635,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"PYSEC-2024-318","ecosystem":"PyPI","name":"chuanhuchatgpt","purl":"pkg:pypi/chuanhuchatgpt","ranges":[{"introduced":"0","last_affected":"20240410"}],"versions":["3.2.5"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2024-6038/","html_en":"/en/cve/CVE-2024-6038/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-6038","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-6038"},"untrusted":{"vendor_name":"Gaizhenbiao","product_name":"Chuanhuchatgpt","desc_en":"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":[{"untrusted_vendor":"gaizhenbiao","untrusted_product":"gaizhenbiao/chuanhuchatgpt","versions":[]},{"untrusted_vendor":"gaizhenbiao","untrusted_product":"chuanhuchatgpt","versions":[]}],"references":[{"url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/fcdd5fd6b05ef537a1db185ab115758d87e1ba3f","tags":[]},{"url":"https://huntr.com/bounties/d41cca0a-82bc-4cbf-a52a-928d304fb42d","tags":["Exploit","Third Party Advisory"]}]}}