CVE-2024-12391

CVSS 3.0 Score 6.5 of 10 (medium)

Details

Published Mar 20, 2025
CWE ID 183

Summary

CVE-2024-12391 is a newly identified vulnerability affecting the binary-husky/gpt_academic package, specifically the function '解析项目源码(手动指定和筛选源码文件类型)'. This function, which permits the execution of user-provided regular expressions, can be exploited through a Regular Expression Denial of Service (ReDoS) attack. Malicious 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 can control both the regular expression and the search string can exploit this vulnerability to hang the server for an arbitrary amount of time. This issue has been identified in commit 310122f and requires immediate attention for affected users to prevent potential DoS attacks.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share