ADVISORIES

GitHub Advisory Database

GHSA-47fc-vmwq-366v

PyTorch vulnerable to arbitrary code execution

Details

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely. The fix for this issue is available in version 1.13.1. There is a release checker in issue #89855.

Affected packages

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

References