CVE-2024-6090 Path Traversal Vulnerability in gaizhenbiao/chuanhuchatgpt

High 7.5 Published Updated

Attackers can delete other users' chat histories or arbitrary JSON files, causing denial of service and data loss in the ChuanhuChatGPT application.

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-6090?

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

Official description

A path traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410, allowing any user to delete other users' chat histories. This vulnerability can also be exploited to delete any files ending in `.json` on the target system, leading to a denial of service as users are unable to authenticate.

Weakness: CWE-22

Which versions are affected by CVE-2024-6090?

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-6090?

No fix has been published for CVE-2024-6090 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-6090 being exploited?

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

Sources

Also known as GHSA-v7q8-3xv9-3hv4, PYSEC-2024-319.

Is CVE-2024-6090 in your software?

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

Check your SBOMs for free