Bug 1226186 (CVE-2024-5480) - VUL-0: CVE-2024-5480: python-torch: remote code execution in torch.distributed.rpc framework
Summary: VUL-0: CVE-2024-5480: python-torch: remote code execution in torch.distribute...
Status: NEW
Alias: CVE-2024-5480
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Wolfgang Engel
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/409000/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-5480:9.8:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 12:26 UTC by SMASH SMASH
Modified: 2024-06-11 13:17 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-11 12:26:20 UTC
A vulnerability in the PyTorch's torch.distributed.rpc framework, specifically in versions prior to 2.2.2, allows for remote code execution (RCE). The framework, which is used in distributed training scenarios, does not properly verify the functions being called during RPC (Remote Procedure Call) operations. This oversight permits attackers to execute arbitrary commands by leveraging built-in Python functions such as eval during multi-cpu RPC communication. The vulnerability arises from the lack of restriction on function calls when a worker node serializes and sends a PythonUDF (User Defined Function) to the master node, which then deserializes and executes the function without validation. This flaw can be exploited to compromise master nodes initiating distributed training, potentially leading to the theft of sensitive AI-related data.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-5480
https://www.cve.org/CVERecord?id=CVE-2024-5480
https://huntr.com/bounties/39811836-c5b3-4999-831e-46fee8fcade3
https://bugzilla.redhat.com/show_bug.cgi?id=2291225