Skip to content
Submit incident
AII-1002-50147
ReportedReported by fewer than three independent publishers, with no official finding.

CVE-2024-48063: PyTorch RPC Framework Remote Code Execution

CVE-2024-48063 is a deserialization vulnerability in PyTorch's Distributed RPC Framework affecting versions 2.4.1 and earlier. The flaw in the rpc.remote function and RemoteModule allows attackers to execute arbitrary code on nodes in distributed systems through malicious payloads.

24 October 2024 Β· PyTorch Β· Security and cyberattacks
24 October 2024
AII-1002-501472 sources ↓
Quick facts
Organization
PyTorch (subject)
Category
Security and cyberattacks
Source
gist.github.com
Date
24 October 2024
Drafted by
Raidu Incident Detection

What happened

PyTorch versions 2.4.1 and earlier contain a vulnerability in the Distributed RPC Framework, specifically in the rpc.remote function and RemoteModule component.

The vulnerability is a deserialization flaw in torch/distributed/rpc/internal.py that allows remote code execution through malicious payloads sent to the RPC framework.

Reported impact

Attackers who can post malicious payloads to the RPC framework can execute arbitrary code on affected nodes in a distributed system.

Index analysis

The vulnerability involves a serialization attack vector through the rpc.remote function, which is used for creating remote object references and invoking methods across distributed processes or nodes.

Classification

Organization
PyTorch (subject)
Category
Security and cyberattacks
Harm status
Potential harm
Intent
Unknown
Timing
Unknown
AI systems
PyTorch Distributed RPC Framework

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

gist.github.com
https://gist.github.com/hexian2001/c046c066895a963ecc0a2cf9e1180065
rumbling-slice-eb0.notion.site
https://rumbling-slice-eb0.notion.site/Distributed-RPC-Framework-RemoteModule-has-Deserialization-RCE-in-pytorch-pytorch-111e3cda9e8c8021a7d3cbc61ee1a20c