Vulnerability in Binary-Husky Binary-Husky/gpt Academic
CVE-2024-12391
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
EPSS: 0.009 (55.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Binary-husky Binary-husky/gpt_academic — versions unspecified
- Binary-husky Gpt_academic — versions 2024-10-15
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-12391?
- CVE-2024-12391 is a medium-severity vulnerability in Binary-Husky Binary-Husky/gpt Academic, classified under Inefficient Regular Expression Complexity. CVSS score: 6.5/10. Published 2025-03-20.
- How severe is CVE-2024-12391?
- Medium severity. CVSS v3 base score is 6.5 out of 10.