{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-5185 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-5185 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5185 is a high-severity vulnerability in SamurAIGPT EmbedAI, published on 29 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-5185 and fix it if it is affected.\n\nWhat it is: CVE-2024-5185 is a high-severity vulnerability in SamurAIGPT EmbedAI, published on 29 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-5185 in the wild and no public exploit code.\n\nAffected product: SamurAIGPT EmbedAI. 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-5185/ (Markdown: https://insights.sbomify.com/CVE-2024-5185/index.md)","id":"CVE-2024-5185","markdown":"https://insights.sbomify.com/CVE-2024-5185/index.md","name":"CVE-2024-5185","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"EmbedAI application","requires_auth":"none","summary":"Attackers can exploit CSRF to trick users into uploading malicious data, poisoning the EmbedAI language model.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"SNPS","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"The EmbedAI application is susceptible to security issues that enable Data Poisoning attacks. This weakness could result in the application becoming compromised, leading to unauthorized entries or data poisoning attacks, which are delivered by a CSRF vulnerability due to the absence of a secure session management implementation and weak CORS policies weakness. An attacker can direct a user to a malicious webpage that exploits a CSRF vulnerability within the EmbedAI application. By leveraging this CSRF vulnerability, the attacker can deceive the user into inadvertently uploading and integrating incorrect data into the application’s language model.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Data Poisoning in EmbedAI","id":"CVE-2024-5185","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Server Side Request Forgery (SSRF) in imartinez/privategpt","id":"CVE-2024-5186"},"packages":[],"prev":{"headline":"Prompt Injection in EmailGPT","id":"CVE-2024-5184"},"products":["EmbedAI"],"published":"2024-05-29","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["SamurAIGPT"]},"summary":"Attackers can exploit CSRF to trick users into uploading malicious data, poisoning the EmbedAI language model.","url":"https://insights.sbomify.com/CVE-2024-5185/"}