CVE-2024-3584 Path Traversal in qdrant/qdrant
Attackers can upload files to arbitrary locations via path traversal in the snapshot upload endpoint, potentially leading to system takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-3584?
CVE-2024-3584 is a critical path traversal vulnerability in qdrant/qdrant, published on 30 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
qdrant/qdrant version 1.9.0-dev is vulnerable to path traversal due to improper input validation in the `/collections/{name}/snapshots/upload` endpoint. By manipulating the `name` parameter through URL encoding, an attacker can upload a file to an arbitrary location on the system, such as `/root/poc.txt`. This vulnerability allows for the writing and overwriting of arbitrary files on the server, potentially leading to a full takeover of the system. The issue is fixed in version 1.9.0.
Weakness: CWE-20
Which versions are affected by CVE-2024-3584?
2 open source packages ship an affected version, including qdrant. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
qdrant crates.io | From 1.9.0-dev | 1.9.0 |
qdrant crates.io | From 1.9.0-dev | 1.9.0 |
Products include Qdrant Qdrant.
How do I fix CVE-2024-3584?
Upgrade qdrant to 1.9.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-3584 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3584 exists.
Other vulnerabilities in qdrant/qdrant
- CVE-2024-3829 Arbitrary File Read and Write during Snapshot Recovery in qdrant/qdrant
- CVE-2024-2221 Path Traversal and Arbitrary File Upload Vulnerability in qdrant/qdrant
- CVE-2026-25628 Qdrant affected by arbitrary file write via `/logger` endpoint
- CVE-2023-38975 Memory corruption in n/a
- CVE-2024-3078 Qdrant Full Snapshot REST API snapshots.rs path traversal
Sources
Also known as GHSA-xcr2-h8hv-6227.