← Back to CVEs
CVE-2022-45907
CRITICAL9.8
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published11/26/2022
Last Modified4/25/2025
Sourcenvd
Honeypot Sightings0
Affected Products
linuxfoundation:pytorch
Weaknesses (CWE)
CWE-94CWE-94
References
https://github.com/pytorch/pytorch/issues/88868(cve@mitre.org)
https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pytorch/pytorch/issues/88868(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.