GHSA-xcr2-h8hv-6227

Suggest an improvement
Source
https://github.com/advisories/GHSA-xcr2-h8hv-6227
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-xcr2-h8hv-6227/GHSA-xcr2-h8hv-6227.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xcr2-h8hv-6227
Aliases
Published
2024-06-02T22:30:10Z
Modified
2024-06-02T22:56:56.911156Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
qdrant is vulnerable to path traversal due to improper input validation in the `/collections/{name}/snapshots/upload` endpoint
Details

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.

Database specific
{
    "nvd_published_at": "2024-05-30T13:15:49Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-06-02T22:30:10Z"
}
References

Affected packages

crates.io / qdrant

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.9.0-dev
Fixed
1.9.0

Affected versions

1.*

1.9.0-dev