Arbitrary Code Injection Affecting pytorch package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.35% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-PYTORCH-3149887
  • published27 Nov 2022
  • disclosed26 Nov 2022

Introduced: 26 Nov 2022

CVE-2022-45907  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 pytorch.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pytorch package and not the pytorch package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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

CVSS Scores

version 3.1