Vulnerability Description
The issue stems from a missing validation of the pip field in a POST request sent to the /customnode/install endpoint used to install custom nodes which is added to the server by the extension. This allows an attacker to craft a request that triggers a pip install on a user controlled package or URL, resulting in remote code execution (RCE) on the server.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/ltdrdata/ComfyUI-Manager/blob/ffc095a3e5acc1c404773a0510e6d05
- https://github.com/ltdrdata/ComfyUI-Manager/commit/ffc095a3e5acc1c404773a0510e6d
FAQ
What is CVE-2024-21574?
CVE-2024-21574 is a vulnerability with a CVSS score of 10.0 (CRITICAL). The issue stems from a missing validation of the pip field in a POST request sent to the /customnode/install endpoint used to install custom nodes which is added to the server by the extension. This a...
How severe is CVE-2024-21574?
CVE-2024-21574 has been rated CRITICAL with a CVSS base score of 10.0/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-21574?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.