GitHub Advisoryadvisory · PyPI
GHSA-47fc-vmwq-366v PyTorch vulnerable to arbitrary code execution
CRITICAL
Official page ↗
- Aliases
- CVE-2022-45907
- Ecosystem
- PyPI
- Packages
- torch
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2022-12-02
Affected packages
• PyPI torch: < 1.13.1 → fixed in 1.13.1
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely. The fix for this issue is available in version 1.13.1. There is a release checker in issue #89855.
Related
Alias · CVE (1)
- CVE-2022-45907 In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45907 advisory
- https://github.com/pytorch/pytorch/issues/88868 web
- https://github.com/pytorch/pytorch/issues/89855 web
- https://github.com/pytorch/pytorch/pull/89189 web
- https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 web
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml web
- https://github.com/pytorch/pytorch package
- https://github.com/pytorch/pytorch/releases/tag/v1.13.1 web