Security mailing lists by PureSourceCode

CVE-2024-6038

HIGH 7.5CVSS 3.0

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.

Published
27 Jun 2024
Last modified
13 Jul 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-1333
Also known as
PYSEC-2024-318
Sources
NVDJSONOSV PYSEC-2024-318JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gaizhenbiao chuanhuchatgpt
cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240410:*:*:*:*:*:*:*
= 20240410
OSV PyPI chuanhuchatgpt <= 20240410

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 27 Jun 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.