CVE-2024-8374

Sept. 16, 2024, 4:44 p.m.

CVSS Score

7.8 / 10

Products Impacted

Vendor Product Versions
ultimaker
  • ultimaker_cura
  • 5.7.0, 5.7.1, 5.7.2, 5.8.0

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.

Weaknesses

CWE-94
Improper Control of Generation of Code ('Code Injection')

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CWE ID: 94

Date

Published: Sept. 3, 2024, 10:15 a.m.

Last Modified: Sept. 16, 2024, 4:44 p.m.

Status : Analyzed

CVE has been recently published to the CVE List and has been received by the NVD.

More info

Source

596c5446-0ce5-4ba2-aa66-48b3b757a647

CPEs

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a ultimaker ultimaker_cura 5.7.0 - / / / / / /
a ultimaker ultimaker_cura 5.7.0 beta1 / / / / / /
a ultimaker ultimaker_cura 5.7.1 / / / / / / /
a ultimaker ultimaker_cura 5.7.2 rc2 / / / / / /
a ultimaker ultimaker_cura 5.8.0 beta1 / / / / / /
a ultimaker ultimaker_cura 5.8.0 beta1_rc1 / / / / / /
a ultimaker ultimaker_cura 5.8.0 beta1_rc2 / / / / / /

CVSS Data

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score
7.8
Exploitability Score
1.8
Impact Score
5.9
Base Severity
HIGH
CVSS Vector String

The CVSS vector string provides an in-depth view of the vulnerability metrics.

View Vector String

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References