CVE-2024-8018 Denial of Service (DOS) in imartinez/privategpt
An attacker can cause a denial of service in PrivateGPT by uploading a file with an excessively long multipart boundary, rendering the service inaccessible.
- 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-8018?
CVE-2024-8018 is a high-severity denial of service vulnerability in imartinez/privategpt, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability in imartinez/privategpt version 0.5.0 allows for a Denial of Service (DOS) attack. When uploading a file, if an attacker appends a large number of characters to the end of a multipart boundary, the system will continuously process these characters, rendering privateGPT inaccessible. This uncontrolled resource consumption can lead to prolonged unavailability of the service, disrupting operations and causing potential data inaccessibility and loss of productivity.
Weakness: CWE-770
Which versions are affected by CVE-2024-8018?
It affects 1 product.
Products include Pribai Privategpt.
How do I fix CVE-2024-8018?
No fix has been published for CVE-2024-8018 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-8018 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8018 exists.
Other vulnerabilities in imartinez/privategpt
- CVE-2024-4343 Python Command Injection in imartinez/privategpt
- CVE-2024-5186 Server Side Request Forgery (SSRF) in imartinez/privategpt
- CVE-2024-12063 Denial of Service in imartinez/privategpt
- CVE-2024-3403 Local File Inclusion in imartinez/privategpt
- CVE-2024-3851 Unrestricted File Upload Leading to XSS in imartinez/privategpt
Sources
Also known as GHSA-2rr7-xrrm-67cf.