AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

PyTorchGHSA-47fc-vmwq-366v

PyTorch vulnerable to arbitrary code execution

PyTorch

CVE-2022-45907 · Published Nov 26, 2022 · updated Nov 13, 2024

Critical9.8
Fix: upgrade to 1.13.1 or later
GitHub advisory

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).

Affected versions

PackageAffectedFixed in
torch
PyPI
< 1.13.11.13.1
Details and references

More PyTorch advisories

All PyTorch