Vulnerabilities in pkg:pypi/qdrant-client
PACKAGECVE-2024-3829 is a CRITICAL (CVSS 9.8) qdrant input validation failure vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Qdrant client libraries in the PyPI ecosystem. The issue involves qdrant input validation failure. Remediation is available by upgrading affected packages to version 1.9.0.
pkg:pypi/qdrant-client
Vulnerability advisories affecting package pkg:pypi/qdrant-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-7m75-x27w-r52r | CVE-2024-3829 | CRITICAL | qdrant input validation failure |
CVE-2024-3829 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-3829
To remediate this vulnerability, upgrade all affected Qdrant client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install qdrant-client>=1.9.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show qdrant-client
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-3829, inspect your installed packages using pip:
pip show qdrant-client
Analyze the terminal output to locate any version of Qdrant client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.0), your application is affected.
Note: The pip show qdrant-client command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Qdrant client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-3829 Affected Qdrant client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
qdrant-client
|
PyPI |
< 1.9.0
|
1.9.0
|
References
Frequently Asked Questions
What is CVE-2024-3829?
Which Qdrant client versions are affected?
What version fixes CVE-2024-3829?
Is qdrant-client affected?
What is the CVSS score of CVE-2024-3829?
What CWE is associated with CVE-2024-3829?
How can I check PyPI dependencies for CVE-2024-3829?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7m75-x27w-r52r",
"modified" : "2024-06-04T17:50:58Z",
"published" : "2024-06-03T12:30:38Z",
"aliases" : [ "CVE-2024-3829" ],
"summary" : "qdrant input validation failure ",
"details" : "qdrant/qdrant version 1.9.0-dev is vulnerable to arbitrary file read and write during the snapshot recovery process. Attackers can exploit this vulnerability by manipulating snapshot files to include symlinks, leading to arbitrary file read by adding a symlink that points to a desired file on the filesystem and arbitrary file write by including a symlink and a payload file in the snapshot's directory structure. This vulnerability allows for the reading and writing of arbitrary files on the server, which could potentially lead to a full takeover of the system. The issue is fixed in version v1.9.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "qdrant-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3829"
}, {
"type" : "WEB",
"url" : "https://github.com/qdrant/qdrant/commit/ee7a31ec3459a6a4219200234615c1817ab82260"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/qdrant/qdrant-client"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/abd9c906-75ee-4d84-b76d-ce1386401e08"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-59" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-04T17:50:58Z",
"nvd_published_at" : "2024-06-03T10:15:14Z"
}
}