Vulnerability · Published Sep 3, 2024 · Assigned by Checkmarx
CVE-2024-8374Arbitrary Code Injection in Cura
High 7.8
In plain English
A high-severity code injection in Cura from Ultimaker. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | cura | no fix listed | UBUNTU-CVE-2024-8374 |
| Ubuntu:25.10 | cura | no fix listed | UBUNTU-CVE-2024-8374 |
| Ubuntu:26.04:LTS | cura | no fix listed | UBUNTU-CVE-2024-8374 |
| Ubuntu:26.10 | cura | no fix listed | UBUNTU-CVE-2024-8374 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H