In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
References
Link | Resource |
---|---|
https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 | Patch Third Party Advisory |
https://github.com/pytorch/pytorch/issues/88868 | Exploit Issue Tracking Patch Third Party Advisory |
Configurations
Information
Published : 2022-11-25 18:15
Updated : 2022-11-28 11:25
NVD link : CVE-2022-45907
Mitre link : CVE-2022-45907
JSON object : View
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Products Affected
linuxfoundation
- pytorch