CVE-2024-5822 Server-Side Request Forgery (SSRF) in gaizhenbiao/ChuanhuChatGPT

High 7.3 Published Updated

Attackers can exploit an SSRF vulnerability in the upload interface to access internal resources and sensitive data via the server.

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

CVE-2024-5822 is a high-severity server-side request forgery 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 Server-Side Request Forgery (SSRF) vulnerability exists in the upload processing interface of gaizhenbiao/ChuanhuChatGPT versions <= ChuanhuChatGPT-20240410-git.zip. This vulnerability allows attackers to send crafted requests from the vulnerable server to internal or external resources, potentially bypassing security controls and accessing sensitive data.

Weakness: CWE-918

Which versions are affected by CVE-2024-5822?

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

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

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-5822 being exploited?

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

Sources

Also known as GHSA-j6c7-m83j-8wqg, PYSEC-2024-268.

Is CVE-2024-5822 in your software?

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

Check your SBOMs for free