Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:47793
HistoryJun 28, 2024 - 5:52 a.m.

Remote Code Execution (RCE)

2024-06-2805:52:41
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
2
remote code execution
torch
pythonudf
distributed rpc
multi-cpu
security vulnerability

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8.1

Confidence

Low

torch is vulnerable to Remote Code Execution (RCE). The vulnerability is caused by a lack of restriction on function calls when a worker node sends a PythonUDF to the master node, which then executes the function without proper validation within the torch.distributed.rpc framework. This allows attackers to execute arbitrary commands by leveraging built-in Python functions like eval during multi-CPU RPC communication.

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8.1

Confidence

Low