CVE-2024-21576 CRITICAL

CVE-2024-21576

Vendor Bmad4Ever
Product ComfyUI-Bmad-Nodes
Weakness CWE-94 · Code injection
Published December 13, 2024
Last update December 23, 2024

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 13, 2024 CVE published
December 23, 2024 Record updated