CVE-2024-21574CWE-94

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…

Critical · published December 12, 2024

CVSS v4.0
10.0
EPSS
1%
Percentile
66.3
In the wild
Unconfirmed
What it is

🚨 A missing validation on the /customnode/install endpoint is a potential goldmine for attackers! This flaw can trigger a remote code execution (RCE) through a crafted request. 🔥 Think of it like a restaurant kitchen receiving an order without checking the ticket — anyone can sneak in a recipe for disaster by sending the wrong ingredients. Without proper validation, the kitchen (server) unwittingly whips up whatever the attacker requested! An attacker could exploit this vulnerability to install malicious packages that grant them full control over the server. This means they could read sensitive data, execute harmful commands, or even take down the entire service. The consequences could be absolutely devastating for your organization!

Put simply

Think of it like a restaurant kitchen receiving an order without checking the ticket — anyone can sneak in a recipe for disaster by sending the wrong ingredients. Without proper validation, the kitchen (server) unwittingly whips up whatever the attacker requested! This critical vulnerability arises from a missing validation of the pip field in a POST request sent to the /customnode/install endpoint. An attacker can craft a request to trigger a pip install of a user-controlled package or URL, leading to remote code execution on the server.

What to do

An attacker could exploit this vulnerability to install malicious packages that grant them full control over the server. This means they could read sensitive data, execute harmful commands, or even take down the entire service. The consequences could be absolutely devastating for your organization! To mitigate this risk, ensure you validate and sanitize inputs for the pip field in any requests to the /customnode/install endpoint. Apply available patches or updates as soon as possible, and consider conducting a security review of related custom node installations to ensure no vulnerabilities remain. Act swiftly! You've got this! With a few key updates, you can safeguard your server and become a security hero! 🛡️

The record
Technical detail
CVSS v4.0
10.0 · CRITICAL
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
EPSS
0.01139 · 66.3th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-12-12T08:15Z
EPSS history
Timeline
  • 12 DEC 08:15Z
    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…
    cvelistv5