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

How to fix

Update
  • linuxfoundation pytorch1.13.1 or later
  • torch1.13.1 or later

Affected products

ProductAffected versionsFixed in
linuxfoundation pytorchv < 1.13.11.13.1
torchPyPIv < 1.13.11.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.