In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Date: 2022-11
Affected: linuxfoundation/pytorch
Attack vector: rce
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2022-45907
CWE: CWE-94
CVSS: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

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


Mitigations:

Architectural layers (MAESTRO):