Advisory

PYSEC-2024-259

Also known as: BIT-pytorch-2024-48063, CVE-2024-48063

Summary

The record has no summary.

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-10-29 21:15 UTC
Modified
2025-07-16 09:57 UTC

Affected packages and fixes

torch

PyPI · All systems

Affected

  • introduced 0, fixed 2.5.0 (ecosystem)

Fixed versions

2.5.0

Fix

  • Fixed version 2.5.0
    pip install --upgrade torch==2.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences