Home

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.

PUBLISHED Reserved 2023-12-22 | Published 2024-12-12 | Updated 2024-12-12 | Assigner snyk




CRITICAL: 10.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CRITICAL: 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Problem types

Code Injection

Product status

Any version before 2.51.1
affected

Credits

Raul Onitza-Klugman (Snyk Security Research)

References

github.com/...ommit/ffc095a3e5acc1c404773a0510e6d055a6a72b0e

github.com/...4773a0510e6d055a6a72b0e/glob/manager_server.py

cve.org (CVE-2024-21574)

nvd.nist.gov (CVE-2024-21574)

Download JSON