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).

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.4%top 62.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTScurano fix listedUBUNTU-CVE-2024-8374
Ubuntu:25.10curano fix listedUBUNTU-CVE-2024-8374
Ubuntu:26.04:LTScurano fix listedUBUNTU-CVE-2024-8374
Ubuntu:26.10curano fix listedUBUNTU-CVE-2024-8374

Affected products (as reported)

VendorProductVersions
Ultimaker Cura 5.7.0-beta.1 – through 5.7.2

Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References