{"id":"UBUNTU-CVE-2024-8374","details":"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.","modified":"2026-05-20T16:20:16.789821665Z","published":"2024-09-03T10:15:00Z","upstream":["CVE-2024-8374"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-8374"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-8374"},{"type":"REPORT","url":"https://github.com/Ultimaker/Cura/commit/285a241eb28da3188c977f85d68937c0dad79c50"}],"affected":[{"package":{"name":"cura","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cura?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3-2","3.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.0-1","binary_name":"cura"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"}},{"package":{"name":"cura","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cura?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-2","4.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cura","binary_version":"4.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"}},{"package":{"name":"cura","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cura?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8-4","4.8-4build1","4.8-5","4.13.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cura","binary_version":"4.13.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"}},{"package":{"name":"cura","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/cura?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0-6"],"ecosystem_specific":{"binaries":[{"binary_version":"5.0.0-6","binary_name":"cura"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"}},{"package":{"name":"cura","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cura?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0-6","5.0.0-6build1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.0.0-6build1","binary_name":"cura"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}