VDB
Sign up
—

PYSEC-2022-43015

Quick fix

PYSEC-2022-43015 — torch: upgrade to the fixed version with the command below.

pip install --upgrade 'torch>=767f6aa49fe20a2766b9843d01e3b7f7793df6a3'

Details

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/torch
Introduced in: 0Fixed in: 767f6aa49fe20a2766b9843d01e3b7f7793df6a3
Fixpip install --upgrade 'torch>=767f6aa49fe20a2766b9843d01e3b7f7793df6a3'

References