~ / search / GHSA-47fc-vmwq-366v

GHSA-47fc-vmwq-366v

PyTorch vulnerable to arbitrary code execution

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-45907

Packages

EcosystemPackageAffectedFixed in
PyPI torch < 1.13.1 1.13.1

Details

As written in the advisory (Markdown source, shown as plain text).

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](https://github.com/pytorch/pytorch/issues/89855).

References

External links from the advisory. They lead to third-party sites.