CVE-2022-45907
CRITICALPyTorch < 1.13.1 - Remote Code Execution via Unsafe eval in torch.jit.annotations.parse_type_line
Title source: llmDescription
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
References (2)
Core 2
Core References
Patch, Third Party Advisory
https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3
Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/pytorch/pytorch/issues/88868
Scores
CVSS v3
9.8
EPSS
0.0083
EPSS Percentile
74.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (2)
linuxfoundation/pytorch
< 1.13.1
pypi/torch
0 - 1.13.1PyPI
Published
Nov 26, 2022
Tracked Since
Feb 18, 2026