PYSEC-2022-43015

At a glance

Published
Updated
CVE
CVE-2022-45907
Aliases
BIT-pytorch-2022-45907, GHSA-47fc-vmwq-366v

Description

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

Affected packages

PackageVersions
PyPI · torchintroduced 0, fixed 767f6aa49fe20a2766b9843d01e3b7f7793df6a3 ; introduced 0, fixed 1.13.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database