CVE-2024-3584 Path Traversal in qdrant/qdrant

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
qdrant crates.ioFrom 1.9.0-dev1.9.0
qdrant crates.ioFrom 1.9.0-dev1.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.

Sources

Also known as GHSA-xcr2-h8hv-6227.

Is CVE-2024-3584 in your software?

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

Check your SBOMs for free