Skip to content
Heist/ feed
Back to feed
High

cura — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-8374

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.

Products
cura
Affected versions
3.0.3-2, 3.1.0-1, 3.3.1-2, 4.13.0-1, 4.4.1-1, 4.8-4, 4.8-4build1, 4.8-5, 5.0.0-6, 5.0.0-6build1, 5.0.0-7
Fixed versions
Not specified
CVEs
CVE-2024-8374
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:30 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-8374

core-osv · Original source

Published 3 Sept 2024, 10:15 UTC

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.

osv:UBUNTU-CVE-2024-8374

cura

Fixed versions: Not specified

cura

Fixed versions: Not specified

cura

Fixed versions: Not specified

cura

Fixed versions: Not specified

cura

Fixed versions: Not specified

cura

Fixed versions: Not specified

Complete source record
{
  "id": "ed7abd3e39b31ceb609f55c75e73a4b4ec3a865b63f954abe0561b360771275d",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-8374",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-8374",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2024-8374",
    "products": [
      {
        "name": {
          "value": "cura",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.3-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.1.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cura",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.4.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cura",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.8-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.8-4build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.8-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.13.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cura",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-6",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cura",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-6build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.0.0-7",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cura",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-6",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "5.0.0-6build1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-8374",
      "aliases": [
        "UBUNTU-CVE-2024-8374"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cura",
            "purl": "pkg:deb/ubuntu/cura?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.0.3-2",
            "3.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "cura",
                "binary_version": "3.1.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cura",
            "purl": "pkg:deb/ubuntu/cura?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.3.1-2",
            "4.4.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "cura",
                "binary_version": "4.4.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cura",
            "purl": "pkg:deb/ubuntu/cura?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.8-4",
            "4.8-4build1",
            "4.8-5",
            "4.13.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "cura",
                "binary_version": "4.13.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cura",
            "purl": "pkg:deb/ubuntu/cura?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "5.0.0-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "cura",
                "binary_version": "5.0.0-6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cura",
            "purl": "pkg:deb/ubuntu/cura?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.0.0-6build1",
            "5.0.0-7"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "cura",
                "binary_version": "5.0.0-7"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cura",
            "purl": "pkg:deb/ubuntu/cura?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.0.0-6",
            "5.0.0-6build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8374.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "cura",
                "binary_version": "5.0.0-6build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:59.640015084Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-8374"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-8374",
        "https://www.cve.org/CVERecord?id=CVE-2024-8374",
        "https://github.com/Ultimaker/Cura/commit/285a241eb28da3188c977f85d68937c0dad79c50"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-8374",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356608,
  "published_at": "2024-09-03T10:15:00+00:00"
}