Advisory

PYSEC-2023-195

Also known as: CVE-2023-41047, GHSA-fwfg-vprh-97ph

Summary

The record has no summary.

Details

OctoPrint is a web interface for 3D printers. OctoPrint versions up until and including 1.9.2 contain a vulnerability that allows malicious admins to configure a specially crafted GCODE script that will allow code execution during rendering of that script. An attacker might use this to extract data managed by OctoPrint, or manipulate data managed by OctoPrint, as well as execute arbitrary commands with the rights of the OctoPrint process on the server system. OctoPrint versions from 1.9.3 onward have been patched. Administrators of OctoPrint instances are advised to make sure they can trust all other administrators on their instance and to also not blindly configure arbitrary GCODE scripts found online or provided to them by third parties.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2023-10-09 16:15 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

octoprint

PyPI · All systems

Affected

  • introduced 0, fixed 1.9.3 (ecosystem)

Fixed versions

1.9.3

Fix

  • Fixed version 1.9.3
    pip install --upgrade octoprint==1.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences