Advisory

GHSA-49wm-4fp6-h59c

Also known as: CVE-2022-2872, PYSEC-2022-286

Summary

OctoPrint vulnerable to Unrestricted Upload of File with Dangerous Type

Details

OctoPrint prior to version 1.8.3 is vulnerable to Unrestricted Upload of File with Dangerous Type. Due to misconfiguration in move file functionality, an attacker could easily change the file extension of an uploaded malicious file disguised as a .gcode file. Version 1.8.3 contains a patch.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-09-22 00:00 UTC
Modified
2024-10-07 21:36 UTC

Affected packages and fixes

octoprint

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.3 (ecosystem)

Fixed versions

1.8.3

Fix

  • Fixed version 1.8.3
    pip install --upgrade octoprint==1.8.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences