CVE-2024-6037 Arbitrary Folder Creation in gaizhenbiao/chuanhuchatgpt

High 7.5 Published Updated

Attackers can create arbitrary folders anywhere on the server, causing resource exhaustion, denial of service, and potential data loss.

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

What is CVE-2024-6037?

CVE-2024-6037 is a high-severity path traversal vulnerability in gaizhenbiao/chuanhuchatgpt, published on 10 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in gaizhenbiao/chuanhuchatgpt version 20240410 allows an attacker to create arbitrary folders at any location on the server, including the root directory (C: dir). This can lead to uncontrolled resource consumption, resulting in resource exhaustion, denial of service (DoS), server unavailability, and potential data loss or corruption.

Weakness: CWE-770

Which versions are affected by CVE-2024-6037?

1 open source package ship an affected version, including chuanhuchatgpt. It affects 1 product.

PackageAffectedFixed in
chuanhuchatgpt PyPIAll versions to 20240410None

Products include Gaizhenbiao Chuanhuchatgpt.

How do I fix CVE-2024-6037?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-6037 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6037 exists.

Sources

Also known as GHSA-w39g-g6pq-5jq6, PYSEC-2024-317.

Is CVE-2024-6037 in your software?

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

Check your SBOMs for free