Vulnerabilities · 2022 · Linuxfoundation
CVE-2022-45907
Linuxfoundation Pytorch vulnerability
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pytorch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Pytorch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 · Patch
- github.com/pytorch/pytorch/issues/88868 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-45907
- github.com/pytorch/pytorch/issues/89855
- github.com/pytorch/pytorch/pull/89189
- github.com/pytorch/pytorch/releases/tag/v1.13.1
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml
- github.com/advisories/GHSA-47fc-vmwq-366v
- nvd.nist.gov/vuln/detail/CVE-2022-45907
- cve.org/CVERecord?id=CVE-2022-45907
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.