{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9617 exists.","fix":"No fix has been published for CVE-2024-9617 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9617 is a medium-severity missing authorization vulnerability in danswer-ai/danswer, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9617 and fix it if it is affected.\n\nWhat it is: CVE-2024-9617 is a medium-severity missing authorization vulnerability in danswer-ai/danswer, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9617 exists.\n\nAffected product: danswer-ai/danswer. 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-9617/ (Markdown: https://insights.sbomify.com/CVE-2024-9617/index.md)","id":"CVE-2024-9617","markdown":"https://insights.sbomify.com/CVE-2024-9617/index.md","name":"CVE-2024-9617","record":{"aliases":["GHSA-2w2q-qp7m-7wrh"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"AI chat application","requires_auth":"low_privilege","summary":"Attackers can view any user's files by directly accessing the file API without proper ownership verification.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"An IDOR vulnerability in danswer-ai/danswer v0.3.94 allows an attacker to view any files. The application does not verify whether the attacker is the creator of the file, allowing the attacker to directly call the GET /api/chat/file/{file_id} interface to view any user's file.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-9617.yaml","stars":null,"title":"Danswer - Insecure Direct Object Reference"}],"tier":"weaponised"},"has_fix":null,"headline":"IDOR in danswer-ai/danswer","id":"CVE-2024-9617","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Master Addons \u003c= 2.0.7.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Multiple Widgets","id":"CVE-2024-9618"},"packages":[],"prev":{"headline":"BlockMeister – Block Pattern Builder \u003c= 3.1.10 - Reflected Cross-Site Scripting","id":"CVE-2024-9616"},"products":["danswer-ai/danswer"],"published":"2025-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["danswer-ai"]},"summary":"Attackers can view any user's files by directly accessing the file API without proper ownership verification.","url":"https://insights.sbomify.com/CVE-2024-9617/"}