~ / search / GHSA-xcr2-h8hv-6227

GHSA-xcr2-h8hv-6227

qdrant is vulnerable to path traversal due to improper input validation in the `/collections/{name}/snapshots/upload` endpoint

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-3584

Packages

EcosystemPackageAffectedFixed in
crates.io qdrant >= 1.9.0-dev, < 1.9.0 1.9.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.