CVE-2024-12391

Regular Expression Denial of Service (ReDoS) in binary-husky/gpt_academic

Description

A vulnerability in binary-husky/gpt_academic, as of commit 310122f, allows for a Regular Expression Denial of Service (ReDoS) attack. The function '解析项目源码(手动指定和筛选源码文件类型)' permits the execution of user-provided regular expressions. Certain regular expressions can cause the Python RE engine to take exponential time to execute, leading to a Denial of Service (DoS) condition. An attacker who controls both the regular expression and the search string can exploit this vulnerability to hang the server for an arbitrary amount of time.

Category

6.5
CVSS
Severity: Medium
CVSS 3.0 •
EPSS 0.07%
Affected: binary-husky binary-husky/gpt_academic
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-12391?
CVE-2024-12391 has been scored as a medium severity vulnerability.
How to fix CVE-2024-12391?
To fix CVE-2024-12391, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-12391 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-12391 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-12391?
CVE-2024-12391 affects binary-husky binary-husky/gpt_academic.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.