{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8489 exists.","fix":"No fix has been published for CVE-2024-8489 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-8489 is a high-severity vulnerability in modelscope/agentscope, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-8489 and fix it if it is affected.\n\nWhat it is: CVE-2024-8489 is a high-severity vulnerability in modelscope/agentscope, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8489 exists.\n\nAffected product: modelscope/agentscope. 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-8489/ (Markdown: https://insights.sbomify.com/CVE-2024-8489/index.md)","id":"CVE-2024-8489","markdown":"https://insights.sbomify.com/CVE-2024-8489/index.md","name":"CVE-2024-8489","record":{"aliases":["GHSA-49rx-72gp-wfgj"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"AgentScope Studio backend","requires_auth":"none","summary":"Attackers can exploit overly permissive CORS headers to perform CSRF attacks, allowing them to read arbitrary files from the target's local file system.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"A vulnerability in modelscope/agentscope, specifically in the AgentScope Studio backend server, allows for Cross-Site Request Forgery (CSRF) due to overly permissive CORS headers. This issue affects the latest commit on the main branch (21161fe). The vulnerability permits an attacker to access all backend endpoints, including the `api/file` endpoint, enabling the reading of arbitrary files on the target's local file system through CSRF.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"CSRF due to overly permissive CORS headers in modelscope/agentscope","id":"CVE-2024-8489","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"PropertyHive \u003c= 2.0.19 - Cross-Site Request Forgery via save_account_details","id":"CVE-2024-8490"},"packages":[],"prev":{"headline":"Cross-site scripting in Survey Maker","id":"CVE-2024-8488"},"products":["modelscope/agentscope"],"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-20","vendors":["modelscope"]},"summary":"Attackers can exploit overly permissive CORS headers to perform CSRF attacks, allowing them to read arbitrary files from the target's local file system.","url":"https://insights.sbomify.com/CVE-2024-8489/"}