CVE-2024-48063 Deserialization in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via unsafe deserialization in PyTorch's RemoteModule, though this is disputed as intended behavior.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-48063?

CVE-2024-48063 is a critical unsafe deserialization vulnerability in n/a, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-502

Which versions are affected by CVE-2024-48063?

2 open source packages ship an affected version, including pytorch and torch. It affects 1 product.

PackageAffectedFixed in
pytorch BitnamiAll versions2.5.0
torch PyPIAll versions2.5.0

Products include Linuxfoundation Pytorch.

How do I fix CVE-2024-48063?

Upgrade pytorch to 2.5.0 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-48063 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48063 exists.

Sources

Also known as BIT-pytorch-2024-48063, DEBIAN-CVE-2024-48063, ECHO-7b96-b37e-2be6, GHSA-9v5x-r4g7-gqw3, PYSEC-2024-259, UBUNTU-CVE-2024-48063.

Is CVE-2024-48063 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free