CVE-2022-45907Code Injection in Pytorch

Severity
9.8CRITICALNVD
EPSS
0.9%
top 23.69%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 26

Description

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

debiandebian/pytorch< pytorch 1.13.1+dfsg-1 (bookworm)
Debianlinuxfoundation/pytorch< 1.13.1+dfsg-1+2

Patches

🔴Vulnerability Details

3
OSV
CVE-2022-45907: In PyTorch before trunk/89695, torch2022-11-26
OSV
PyTorch vulnerable to arbitrary code execution2022-11-26
GHSA
PyTorch vulnerable to arbitrary code execution2022-11-26

📋Vendor Advisories

1
Debian
CVE-2022-45907: pytorch - In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause a...2022