ComfyUI-Bmad-Nodes is vulnerable to Code Injection. The issue stems from a validation bypass in the BuildColorRangeHSVAdvanced, FilterContour and FindContour custom nodes. In the entrypoint function to each node, there’s a call to eval which can be triggered by generating a workflow that injects a crafted string into the node. This can result in executing arbitrary code on the server.
History

Fri, 13 Dec 2024 11:30:00 +0000

Type Values Removed Values Added
Description ComfyUI-Bmad-Nodes is vulnerable to Code Injection. The issue stems from a validation bypass in the BuildColorRangeHSVAdvanced, FilterContour and FindContour custom nodes. In the entrypoint function to each node, there’s a call to eval which can be triggered by generating a workflow that injects a crafted string into the node. This can result in executing arbitrary code on the server.
Weaknesses CWE-94
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2024-12-13T11:17:00.945Z

Updated: 2024-12-13T11:17:00.945Z

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

Link: CVE-2024-21576

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2024-12-13T12:15:19.753

Modified: 2024-12-13T12:15:19.753

Link: CVE-2024-21576

cve-icon Redhat

No data.