GitHub Advisoryadvisory · PyPI
GHSA-49wm-4fp6-h59c OctoPrint vulnerable to Unrestricted Upload of File with Dangerous Type
LOW
Official page ↗
- Aliases
- CVE-2022-2872
- Ecosystem
- PyPI
- Packages
- OctoPrint
- Severity
- Low
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-434
- Reviewed
- 2022-09-23
Affected packages
• PyPI OctoPrint: < 1.8.3 → fixed in 1.8.3
Description
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.
Related
Alias · CVE (1)
- CVE-2022-2872 Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3. vulnerability
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-2872 advisory
- https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0 web
- https://github.com/octoprint/octoprint package
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2022-286.yaml web
- https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56 web