{"id":"CVE-2024-8374","state":"PUBLISHED","title":"Arbitrary Code Injection in Cura","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.","publishedAt":"2024-09-03T10:01:12.871Z","updatedAt":"2024-09-03T13:47:37.496Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"Checkmarx"},"assigner":"Checkmarx","products":["Ultimaker Cura"],"affected":[{"vendor":"Ultimaker","product":"Cura","defaultStatus":"unaffected","versions":[{"version":"5.7.0-beta.1","status":"affected","lessThanOrEqual":"5.7.2","changes":[{"at":"5.8.0-RC1","status":"unaffected"}],"versionType":"semver"}],"repo":"https://github.com/Ultimaker/Cura"}],"references":["https://github.com/Ultimaker/Cura/commit/285a241eb28da3188c977f85d68937c0dad79c50"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8374.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8374","state":"PUBLISHED","datePublished":"2024-09-03T10:01:12.871Z","dateUpdated":"2024-09-03T13:47:37.496Z","assignerShortName":"Checkmarx","assignerOrgId":"596c5446-0ce5-4ba2-aa66-48b3b757a647","dateReserved":"2024-09-02T11:18:30.693Z"},"containers":{"cna":{"title":"Arbitrary Code Injection in Cura","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Ultimaker","product":"Cura","defaultStatus":"unaffected","versions":[{"version":"5.7.0-beta.1","status":"affected","lessThanOrEqual":"5.7.2","changes":[{"at":"5.8.0-RC1","status":"unaffected"}],"versionType":"semver"}],"repo":"https://github.com/Ultimaker/Cura"}],"references":[{"url":"https://github.com/Ultimaker/Cura/commit/285a241eb28da3188c977f85d68937c0dad79c50"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Checkmarx","orgId":"596c5446-0ce5-4ba2-aa66-48b3b757a647","dateUpdated":"2024-09-03T10:09:11.016Z"},"source":{"discovery":"UNKNOWN"},"tags":["x_open-source"],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ultimaker","product":"cura","defaultStatus":"unknown","versions":[{"version":"5.7.0-beta.1","status":"affected","lessThanOrEqual":"5.7.2","versionType":"semver"}],"cpes":["cpe:2.3:a:ultimaker:cura:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-03T13:44:46.158175Z","id":"CVE-2024-8374","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-03T13:47:37.496Z"}}]}}}