{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2221 exists.","fix":"No fix has been published for CVE-2024-2221 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-2221 is a critical path traversal vulnerability in qdrant/qdrant, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2221 and fix it if it is affected.\n\nWhat it is: CVE-2024-2221 is a critical path traversal vulnerability in qdrant/qdrant, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2221 exists.\n\nAffected product: qdrant/qdrant. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-2221/ (Markdown: https://insights.sbomify.com/CVE-2024-2221/index.md)","id":"CVE-2024-2221","markdown":"https://insights.sbomify.com/CVE-2024-2221/index.md","name":"CVE-2024-2221","record":{"aliases":["GHSA-hm95-xqg2-4w57"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Vector database","requires_auth":"none","summary":"Attackers can exploit path traversal in the snapshot upload endpoint to overwrite arbitrary files, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"qdrant","vendor":"qdrant"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"qdrant/qdrant is vulnerable to a path traversal and arbitrary file upload vulnerability via the `/collections/{COLLECTION}/snapshots/upload` endpoint, specifically through the `snapshot` parameter. This vulnerability allows attackers to upload and overwrite any file on the filesystem, leading to potential remote code execution. This issue affects the integrity and availability of the system, enabling unauthorized access and potentially causing the server to malfunction.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Path Traversal and Arbitrary File Upload Vulnerability in qdrant/qdrant","id":"CVE-2024-2221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Advanced Classifieds \u0026 Directory Pro \u003c= 3.0.0 - Missing Authorization to Arbitrary Attachment Deletion","id":"CVE-2024-2222"},"packages":[],"prev":{"headline":"Button contact VR \u003c= 4.7 - Admin+ Stored XSS","id":"CVE-2024-2220"},"products":["qdrant/qdrant"],"published":"2024-04-10","related":[{"cvss_score":9.8,"headline":"Arbitrary File Read and Write during Snapshot Recovery in qdrant/qdrant","id":"CVE-2024-3829","kev_date_added":null,"published":"2024-06-03"},{"cvss_score":9.8,"headline":"Path Traversal in qdrant/qdrant","id":"CVE-2024-3584","kev_date_added":null,"published":"2024-05-30"},{"cvss_score":8.6,"headline":"Qdrant affected by arbitrary file write via `/logger` endpoint","id":"CVE-2026-25628","kev_date_added":null,"published":"2026-02-06"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2023-38975","kev_date_added":null,"published":"2023-08-29"},{"cvss_score":5.5,"headline":"Qdrant Full Snapshot REST API snapshots.rs path traversal","id":"CVE-2024-3078","kev_date_added":null,"published":"2024-03-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["qdrant"]},"summary":"Attackers can exploit path traversal in the snapshot upload endpoint to overwrite arbitrary files, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2024-2221/"}