What’s Vulnerable › Vulnerabilities

CVE-2022-45907

Description

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

Affected products

How to fix

Upgrade to a fixed version: PyTorch 1.13.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-45907 or the next vulnerability affects your stack