{"id":"CVE-2022-2872","summary":"Unrestricted Upload of File with Dangerous Type in octoprint/octoprint","details":"Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.","aliases":["GHSA-49wm-4fp6-h59c","PYSEC-2022-286"],"modified":"2026-04-10T04:47:02.894592Z","published":"2022-09-21T09:55:08Z","database_specific":{"cwe_ids":["CWE-434"],"cna_assigner":"@huntrdev","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2872.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2872.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2872"},{"type":"FIX","url":"https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/foosel/octoprint","events":[{"introduced":"0"},{"fixed":"d0d226f3e0ad0a6436e4f32519bf38a82aa576ca"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.8.3"}]}}],"versions":["1.1.0-dev","1.2.0","1.2.0-dev","1.2.0-rc1","1.2.0-rc2","1.2.0-rc3","1.2.1","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.16","1.2.16rc1","1.2.16rc2","1.2.17rc1","1.2.17rc2","1.2.17rc3","1.2.18","1.2.18rc1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.4.0rc1","1.4.0rc2","1.4.0rc3","1.4.0rc4","1.4.0rc5","1.4.0rc6","1.5.0","1.5.0rc1","1.5.0rc2","1.5.0rc3","1.5.1","1.5.2","1.5.3","1.6.1","1.7.1","1.7.2","1.7.3","1.8.0","1.8.1","1.8.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2872.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/octoprint/octoprint","events":[{"introduced":"0"},{"fixed":"d0d226f3e0ad0a6436e4f32519bf38a82aa576ca"}]}],"versions":["1.1.0-dev","1.2.0","1.2.0-dev","1.2.0-rc1","1.2.0-rc2","1.2.0-rc3","1.2.1","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.16","1.2.16rc1","1.2.16rc2","1.2.17rc1","1.2.17rc2","1.2.17rc3","1.2.18","1.2.18rc1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.4.0rc1","1.4.0rc2","1.4.0rc3","1.4.0rc4","1.4.0rc5","1.4.0rc6","1.5.0","1.5.0rc1","1.5.0rc2","1.5.0rc3","1.5.1","1.5.2","1.5.3","1.6.1","1.7.1","1.7.2","1.7.3","1.8.0","1.8.1","1.8.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2872.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}