Skip to content
OpenAdvisories
High · 7.8 CVE-2024-8374 EUVD-2024-49132GHSA-rvg9-cwv8-3543

Arbitrary Code Injection in Cura

Published Sep 3, 2024 · Updated Sep 3, 2024 · Assigned by Checkmarx

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 products

VendorProductAffectedFixed
Ultimaker Cura 5.7.0-beta.1 – ≤ 5.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 cura No fix yet —
Ubuntu 26.04 LTS cura No fix yet —
Ubuntu 25.10 cura No fix yet —
Ubuntu 22.04 LTS cura No fix yet —
Ubuntu 20.04 LTS cura No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS cura No fix yet —

References