Skip to content
MediumVulnerabilityLLM-specific

CVE-2023-33979: gpt_academic information disclosure through the file route

Identifier
CVE-2023-33979
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CVE-2023-33979 affects gpt_academic 3.37 and prior, specifically its Configuration File Handler component. Because no sensitive files are excluded from access, an attacker can read sensitive information files in some working directories through the `/file` route, leading to information disclosure. The issue affects users who configure the project via `config.py`, `config_private.py`, or `Dockerfile`.

Mitigation

A patch is available at commit 1dcc2873d2168ad2d3d70afcb453ac1695fbdf02. As a workaround, use environment variables instead of `config*.py` files to configure the project, or use the docker-compose installation to configure it.