CVE-2024-8374

Source
https://cve.org/CVERecord?id=CVE-2024-8374
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8374.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8374
Downstream
Published
2024-09-03T10:01:12Z
Modified
2026-08-12T03:51:48Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Arbitrary Code Injection in Cura
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.

Database specific
{
    "cna_assigner": "Checkmarx",
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8374.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "5.7.0-beta.1"
                },
                {
                    "last_affected": "5.7.2"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "introduced": "5.7.0-beta.1"
                },
                {
                    "fixed": "5.7.2"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/ultimaker/cura

Affected ranges

Type
GIT
Repo
https://github.com/ultimaker/cura
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:ultimaker:ultimaker_cura:5.7.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:ultimaker:ultimaker_cura:5.7.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:ultimaker:ultimaker_cura:5.7.2:rc2:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "5.7.0-NA"
        },
        {
            "last_affected": "5.7.0-NA"
        },
        {
            "introduced": "5.7.1"
        },
        {
            "last_affected": "5.7.1"
        },
        {
            "introduced": "5.7.2-rc2"
        },
        {
            "last_affected": "5.7.2-rc2"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

5.*
5.7.0-NA
5.7.1
5.7.2-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8374.json"