Skip to main content
← All vulnerabilities
CVE-2022-45907GHSA-47FC-VMWQ-366VBIT-PYTORCH-2022-45907PYSEC-2022-43015

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • torchPyPI

    fixed in 1.13.1

  • torchPyPI

    fixed in 1.13.1

References 2

GitHub · pytorch/pytorch