CVE-2022-45907
Critical
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
SeverityCritical
CVSS9.8
Exploit probability—
ProductLinuxfoundation Pytorch
PublishedNov 26, 2022
First seenNov 26, 2022
Weakness typeCWE-94Code injection
How to fix
Update
- linuxfoundation pytorch1.13.1 or later
- torch1.13.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linuxfoundation pytorch | v < 1.13.1 | 1.13.1 |
| torchPyPI | v < 1.13.1 | 1.13.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.