CVE-2023-33979 gpt_academic's Configuration File vulnerable to File Information Disclosure

Medium 6.5 Published Updated

Attackers can read sensitive configuration files via the /file route in gpt_academic, exposing secrets stored in config.py or Dockerfiles.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-33979?

CVE-2023-33979 is a medium-severity vulnerability in binary-husky gpt_academic, published on 31 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

gpt_academic provides a graphical interface for ChatGPT/GLM. A vulnerability was found in gpt_academic 3.37 and prior. This issue affects some unknown processing of the component Configuration File Handler. The manipulation of the argument file leads to information disclosure. Since no sensitive files are configured to be off-limits, sensitive information files in some working directories can be read through the `/file` route, leading to sensitive information leakage. This affects users that uses file configurations via `config.py`, `config_private.py`, `Dockerfile`. A patch is available at commit 1dcc2873d2168ad2d3d70afcb453ac1695fbdf02. As a workaround, one may use environment variables instead of `config*.py` files to configure this project, or use docker-compose installation to configure this project.

Weakness: CWE-200

Which versions are affected by CVE-2023-33979?

It affects 1 product.

Products include Binary-Husky Gpt Academic.

How do I fix CVE-2023-33979?

No fix has been published for CVE-2023-33979 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-33979 being exploited?

There is no known exploitation of CVE-2023-33979 in the wild and no public exploit code.

Sources

Also known as GHSA-pg65-p24m-wf5g.

Is CVE-2023-33979 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free