CVEvulnerability
CVE-2022-45907
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-11-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Affected configurations
• linuxfoundation pytorch (< 1.13.1)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- 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
- 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