CRITICAL9.8
PYSEC-2024-259
Quick fix
PYSEC-2024-259 — torch: upgrade to the fixed version with the command below.
pip install --upgrade 'torch>=2.5.0'Details
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch distributed computing.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://rumbling-slice-eb0.notion.site/Distributed-RPC-Framework-RemoteModule-has-Deserialization-RCE-in-pytorch-pytorch-111e3cda9e8c8021a7d3cbc61ee1a20c[EVIDENCE]
- https://github.com/pytorch/pytorch/issues/129228[REPORT]
- https://gist.github.com/hexian2001/c046c066895a963ecc0a2cf9e1180065[WEB]
- https://github.com/pytorch/pytorch/security/policy#using-distributed-features[WEB]