GitHub Advisoryadvisory · PyPI

GHSA-47fc-vmwq-366v PyTorch vulnerable to arbitrary code execution

CRITICAL Published 2022-11-26 Modified 2024-11-13 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