ComfyUI-Impact-Pack is vulnerable to Path Traversal. The issue stems from missing validation of the `image.filename` field in a POST request sent to the `/upload/temp` endpoint added by the extension to the server. This results in writing arbitrary files to the file system which may, under some conditions, result in remote code execution (RCE).
History

Thu, 12 Dec 2024 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 12 Dec 2024 14:30:00 +0000

Type Values Removed Values Added
Description ComfyUI-Impact-Pack is vulnerable to Path Traversal. The issue stems from missing validation of the `image.filename` field in a POST request sent to the `/upload/temp` endpoint added by the extension to the server. This results in writing arbitrary files to the file system which may, under some conditions, result in remote code execution (RCE).
Weaknesses CWE-35
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2024-12-12T14:14:29.321Z

Updated: 2024-12-12T14:27:59.119Z

Reserved: 2023-12-22T12:33:20.131Z

Link: CVE-2024-21575

cve-icon Vulnrichment

Updated: 2024-12-12T14:27:51.231Z

cve-icon NVD

Status : Received

Published: 2024-12-12T15:15:12.733

Modified: 2024-12-12T15:15:12.733

Link: CVE-2024-21575

cve-icon Redhat

No data.