CVE-2024-12389
JSON

8.8high

Path Traversal in binary-husky/gpt_academic

Severity
8.8high CVSS:3.0 by @huntr_ai
Exploit likelihood
1.65% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai

Description

A path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f. The application supports the extraction of user-provided 7z files without proper validation. The Python py7zr package used for extraction does not guarantee that files will remain within the intended extraction directory. An attacker can exploit this vulnerability to perform arbitrary file writes, which can lead to remote code execution.

Affected

Product or packageVersionsReported by
binary-husky binary-husky/gpt_academicfrom unspecified up to latestCVE List
binary-husky gpt_academic2024-10-15NVD

Classification

CWE-29

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

A path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f. The application supports the extraction of user-provided 7z files without proper validation. The Python py7zr package used for extraction does not guarantee that files will remain within the intended extraction directory. An attacker can exploit this vulnerability to perform arbitrary file writes, which can lead to remote code execution.

NVD (es)

Existe una vulnerabilidad de path traversal en binary-husky/gpt_academic versión git 310122f. La aplicación permite la extracción de archivos 7z proporcionados por el usuario sin la validación adecuada. El paquete Python py7zr utilizado para la extracción no garantiza que los archivos permanezcan en el directorio de extracción previsto. Un atacante puede explotar esta vulnerabilidad para realizar escrituras arbitrarias en archivos, lo que puede provocar la ejecución remota de código.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-12389 changed 2025-03-20CVE Terms of Use
NVDCVE-2024-12389 changed 2026-06-17Public domain