{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8374 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-8374 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-8374 is a high-severity code injection vulnerability in Ultimaker Cura, published on 3 Sep 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-8374 and fix it if it is affected.\n\nWhat it is: CVE-2024-8374 is a high-severity code injection vulnerability in Ultimaker Cura, published on 3 Sep 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-8374 in the wild and no public exploit code.\n\nAffected product: Ultimaker Cura. 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-8374/ (Markdown: https://insights.sbomify.com/CVE-2024-8374/index.md)","id":"CVE-2024-8374","markdown":"https://insights.sbomify.com/CVE-2024-8374/index.md","name":"CVE-2024-8374","record":{"aliases":["GHSA-rvg9-cwv8-3543","UBUNTU-CVE-2024-8374"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"3D printing slicer","requires_auth":"none","summary":"Attackers can execute arbitrary code by tricking users into opening malicious 3MF files in Cura due to unsafe eval usage.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Checkmarx","cpe":[{"product":"ultimaker_cura","vendor":"ultimaker"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"UltiMaker Cura slicer versions 5.7.0-beta.1 through 5.7.2 are vulnerable to code injection via the 3MF format reader (/plugins/ThreeMFReader.py). The vulnerability arises from improper handling of the drop_to_buildplate property within 3MF files, which are ZIP archives containing the model data. When a 3MF file is loaded in Cura, the value of the drop_to_buildplate property is passed to the Python eval() function without proper sanitization, allowing an attacker to execute arbitrary code by crafting a malicious 3MF file. This vulnerability poses a significant risk as 3MF files are commonly shared via 3D model databases.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Arbitrary Code Injection in Cura","id":"CVE-2024-8374","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Object deserialization in Reverb leading to RCE","id":"CVE-2024-8375"},"packages":[],"prev":{"headline":"AngularJS improper sanitization in '\u003csource\u003e' element","id":"CVE-2024-8373"},"products":["Cura"],"published":"2024-09-03","related":[{"cvss_score":4.4,"headline":"Code injection in n/a","id":"CVE-2024-51330","kev_date_added":null,"published":"2024-11-15"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["Ultimaker"]},"summary":"Attackers can execute arbitrary code by tricking users into opening malicious 3MF files in Cura due to unsafe eval usage.","url":"https://insights.sbomify.com/CVE-2024-8374/"}