CVE-2024-21574

Published Dec 12, 2024

Last updated a year ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2024-21574 is a code injection vulnerability that arises from insufficient validation of the 'pip' field within a POST request. This request is directed to the `/customnode/install` endpoint, which is utilized for installing custom nodes added to a server by an extension. The flaw enables an attacker to craft a malicious request that can initiate a `pip install` command using a package or URL controlled by the attacker. This action ultimately results in remote code execution (RCE) on the affected server.

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.
Source
report@snyk.io
NVD status
Awaiting Analysis

Risk scores

CVSS 4.0

Type
Secondary
Base score
10
Impact score
-
Exploitability score
-
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
CRITICAL

CVSS 3.1

Type
Secondary
Base score
10
Impact score
6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Severity
CRITICAL

Weaknesses

report@snyk.io
CWE-94

Social media

Hype score
Not currently trending