ADVISORIES

PyPA Advisory Database

PYSEC-2022-43015

Details

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

Affected packages

EcosystemPackageAffected versions
PyPItorch
All versions before 1.13.1 (fixed in 1.13.1)

References