CRITICAL
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely
Published Nov 26, 2022
9.3
CRITICALCVSS 4.0
EPSS 1.29%
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Affected products
No data.
- < 1.13.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (2)
References (9)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0340 Advisory
- https://github.com/advisories/GHSA-47fc-vmwq-366v Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml
- https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 PatchThird Party Advisory
- https://github.com/pytorch/pytorch/issues/88868 ExploitIssue TrackingPatchThird Party Advisory
- https://github.com/pytorch/pytorch/issues/89855
- https://github.com/pytorch/pytorch/pull/89189
- https://github.com/pytorch/pytorch/releases/tag/v1.13.1
- https://nvd.nist.gov/vuln/detail/CVE-2022-45907
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Nov 26, 2022
Updated Apr 25, 2025
Reserved Nov 26, 2022
Link CVE-2022-45907
CISA Vulnrichment
Updated Apr 25, 2025
ENISA EUVD
EUVD-2022-0340 GHSA-47FC-VMWQ-366V Assigner mitre
Published Nov 26, 2022
Updated Apr 25, 2025
Exploited since n/a
Link EUVD-2022-0340